-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add includedSoftware
field to Package
spec
#580
Conversation
- Allows users to specify an array of included software within a package => it's name, version and description Signed-off-by: Neil Hickey <nhickey@vmware.com>
- I am back and forth on this, for larger amounts of content, it looks bad Signed-off-by: Neil Hickey <nhickey@vmware.com>
WDYT @cppforlife ? |
- appease the linter Signed-off-by: Neil Hickey <nhickey@vmware.com>
Signed-off-by: Neil Hickey <nhickey@vmware.com>
This reverts commit 0463317.
includedSoftware
field to specincludedSoftware
field to Package
spec
Looking for opinions on field naming:
|
@neil-hickey App-toolkit was just added to TCE as the first package that bundles other packages, so that's a pretty concrete use case. This change will greatly enhance the ability of package authors to identify what software is included. I agree that including a potentially large amount of information in a standard |
Given that "a package of packages" is typically implemented as a package that contains PackageInstall CRDs, would it be possible for kapp-controller to introspect the package for this and display the include software name/version/description? |
this is really valuable! I'm glad we are doing it. I know @jorgemoralespou will like it. thanks @seemiller for letting me know about this PR.
Could we just includedPackages given this is mostly going to be applicable for package of packages? Or is the use-case also for packages that contain multiple pieces of software? Not too strongly opinionated here.
I would definitely want it to be enabled by
I agree with this. One question:
|
This should be for any package |
i can confirm that this is just plain metadatat -- applied to any package.
no, we do not at this point. |
Signed-off-by: Neil Hickey <nhickey@vmware.com>
Thanks for the input everyone!
Not currently, and I don't expect this is something we could support. The only way for KC to "tell" that a Package contains Packages is to look at the output and then parse those yaml files to get info.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will probably need to rerun codegen too
Signed-off-by: Neil Hickey <nhickey@vmware.com>
hi @seemiller / @kartiklunkad26 Do you all have any sense of urgency on this request? We are not planning on cutting a new KC immediately with this change, so if it is urgent we could do that. |
When would a new KC be available with this change? If it is a few weeks/a month, then I think that's fine. If it's much more than that, then that would feel very late. |
=> it's name, version and description
Signed-off-by: Neil Hickey nhickey@vmware.com
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #212
Does this PR introduce a user-facing change?
Additional Notes for your reviewer:
Review Checklist:
a link to that PR
change
Additional documentation e.g., Proposal, usage docs, etc.: