Skip to content

Version field for kapp app annotations #1036

Open
@ringerc

Description

@ringerc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionThis issue is not a bug or feature and a conversation is needed to find an appropriate resolutionenhancementThis issue is a feature request

    Type

    No type

    Projects

    • Status

      To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions