Skip to content
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

Version field for kapp app annotations #1036

Open
ringerc opened this issue Nov 27, 2024 · 2 comments
Open

Version field for kapp app annotations #1036

ringerc opened this issue Nov 27, 2024 · 2 comments
Labels
discussion This issue is not a bug or feature and a conversation is needed to find an appropriate resolution enhancement This issue is a feature request

Comments

@ringerc
Copy link

ringerc commented Nov 27, 2024

Describe the problem/challenge you have

kapp's app deployments track the app's name, but do not record any version for the deployment to show in kapp list etc.

While it is possible to use ytt, kustomize's commonAnnotations etc to inject a kubernetes.io/version annotation into deployed resources, kapp doesn't know to look for it, and no version can be shown in kapp list. It would be immensely useful if kapp list provided an at-a-glance view of deployed component versions.

See fluxcd's flux get kustomization, Helm's helm list for other tools that present at-a-glance component version information.

Describe the solution you'd like

It would be very helpful if kapp deploy took an optional application version flag, which could also be injected as a kapp config stanza. This version would appear in kapp list.

kapp config could also be added that propagates the supplied version to kubernetes.io/version annotations on all components kapp is deploying. This should probably be off by default for compatibility reasons.

Anything else you would like to add:


Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

@ringerc ringerc added carvel triage This issue has not yet been reviewed for validity enhancement This issue is a feature request labels Nov 27, 2024
@renuy renuy moved this to To Triage in Carvel Nov 29, 2024
@renuy renuy added the discussion This issue is not a bug or feature and a conversation is needed to find an appropriate resolution label Nov 29, 2024
@renuy
Copy link
Contributor

renuy commented Dec 6, 2024

Hello @ringerc ,
Could you elaborate on the use case? This could fall in the scope of other tools under carvel, based on what you may be trying to achieve.

@ringerc
Copy link
Author

ringerc commented Dec 16, 2024

@renuy The goal is at-a-glance visibility of deployed component versions that doesn't require locating some specific resource which may vary from deployed component to deployed component in order to inspect its annotations/labels.

I don't see a clean way to do this w/o support for it in kapp itself.

@renuy renuy removed the carvel triage This issue has not yet been reviewed for validity label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion This issue is not a bug or feature and a conversation is needed to find an appropriate resolution enhancement This issue is a feature request
Projects
Status: To Triage
Development

No branches or pull requests

2 participants