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

feat: [helm] set additional labels #1154

Merged
merged 6 commits into from
Jul 11, 2023
Merged

feat: [helm] set additional labels #1154

merged 6 commits into from
Jul 11, 2023

Conversation

jrRibeiro
Copy link
Contributor

@jrRibeiro jrRibeiro commented Jul 10, 2023

This allows us to set extra labels, which is useful to add extra information to resources.

jrRibeiro and others added 2 commits July 10, 2023 21:54
Set extra pod labels, other than selector labels. This is useful to add
extra information to the operator pod.

Signed-off-by: Ricardo Ribeiro <j.ribeiro.fafe@gmail.com>
@NissesSenap
Copy link
Collaborator

NissesSenap commented Jul 11, 2023

Would it be reasonable to add a set of labels that can be applied everywhere, not just pods?
Personally, I like to see the same label in my deployment and on my pods.
Maybe even add the same set of labels to all the resources, like

  • services
  • sa
  • cm
  • rbac

What do you think @jrRibeiro

@jrRibeiro jrRibeiro changed the title feat: [helm] set additional pod labels feat: [helm] set additional labels Jul 11, 2023
jrRibeiro and others added 3 commits July 11, 2023 10:53
This allows us to set extra labels, which is useful to add extra information to resources.

Signed-off-by: Ricardo Ribeiro <j.ribeiro.fafe@gmail.com>
@jrRibeiro
Copy link
Contributor Author

Would it be reasonable to add a set of labels that can be applied everywhere, not just pods? Personally, I like to see the same label in my deployment and on my pods. Maybe even add the same set of labels to all the resources, like

* services

* sa

* cm

* rbac

What do you think @jrRibeiro

Yes, I agree! I moved from using specific pod labels to additional labels that are added to all resources, pods included.

Copy link
Collaborator

@HVBE HVBE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I'll leave the final approve to @NissesSenap

@NissesSenap
Copy link
Collaborator

LGTM, thanks for your contribution @jrRibeiro

@NissesSenap NissesSenap enabled auto-merge (squash) July 11, 2023 11:33
@NissesSenap NissesSenap merged commit f84a1b2 into grafana:master Jul 11, 2023
9 checks passed
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.

None yet

3 participants