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

helm:Use recommended labels in chart #684

Closed
rmacduff opened this issue Feb 21, 2019 · 2 comments
Closed

helm:Use recommended labels in chart #684

rmacduff opened this issue Feb 21, 2019 · 2 comments

Comments

@rmacduff
Copy link

Are there any plans to start using the recommended standard labels in the templates per the best practices doc: https://github.com/helm/helm/blob/master/docs/chart_best_practices/labels.md

app.kubernetes.io/name
helm.sh/chart
app.kubernetes.io/managed-by
app.kubernetes.io/instance
app.kubernetes.io/version
app.kubernetes.io/component
app.kubernetes.io/part-of

This would make it easier to search for kubernetes resources and in logs.

@adilyse
Copy link
Contributor

adilyse commented Feb 28, 2019

Hi @rmacduff,

This hadn't come up before, so there is no current plan. It hasn't been a priority, since we're still working to fix some known issues and add vital functionality. I'd be happy to take a look at a PR, though, if you'd like to add them.

One thing to check first though-- we've already had an issue with a label that changed per version interfering with upgrading via Helm (see hashicorp/consul-helm#86). If adding these recommended labels causes the same problem, we'll continue without them.

@t-eckert t-eckert changed the title Use recommended labels in chart helm:Use recommended labels in chart Aug 24, 2021
@t-eckert t-eckert transferred this issue from hashicorp/consul-helm Aug 24, 2021
lawliet89 pushed a commit to lawliet89/consul-k8s that referenced this issue Sep 13, 2021
@david-yu
Copy link
Contributor

We are using component and chart, but not the others mentioned in the original post are not there yet. Please open a PR if you find others that you would like to add to our templates. Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants