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

include common labels in pod labels #3441

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jhulick
Copy link

@jhulick jhulick commented Nov 21, 2024

What this PR does / why we need it:

  • it adds all common labels to metadata labels in the pod spec. The main reasoning is to persist the helm.sh/chart, app.kubernetes.io/version and app.kubernetes.io/name labels to the pod for standardization. Per docs, (https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/#labels) "In order to take full advantage of using these labels, they should be applied on every resource object.".
  • to improve traceability throughout the application. Ex. via Kiali dashboard.

Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

@CLAassistant
Copy link

CLAassistant commented Nov 21, 2024

CLA assistant check
All committers have signed the CLA.

Signed-off-by: jeremy.hulick <jeremy.hulick@gmail.com>
Signed-off-by: jeremy.hulick <jeremy.hulick@gmail.com>
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 this pull request may close these issues.

2 participants