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

Add podLabels value to allow setting labels that only appear on the pods managed by the deployment. #1358

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

dmcdii
Copy link
Contributor

@dmcdii dmcdii commented Mar 27, 2024

What this PR does / why we need it:

Add podLabels value to allow setting labels that only appear on the pods managed by the deployment.
Need pod label for monitoring that value changes regularly with version upgrades. Cannot use commonLabels because they are used as match labels which are immutable.

Which issue this PR fixes

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • Chart Version bumped
  • Documentation has been updated with helm-docs (run: .github/helm-docs.sh)
  • CHANGELOG.md has been updated
  • Variables are documented in the README.md

@dmcdii dmcdii requested a review from a team as a code owner March 27, 2024 18:25
Copy link
Contributor

@loutPhilipps loutPhilipps left a comment

Choose a reason for hiding this comment

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

You could also define a named template, if you want your tags on other resources like deployment/configmap (but no need to do that if you just want it for pods)

@dmcdii
Copy link
Contributor Author

dmcdii commented Mar 29, 2024

@loutPhilipps Changed some indenting to make more readable.

@dmcdii
Copy link
Contributor Author

dmcdii commented Mar 29, 2024

@loutPhilipps Not sure what is up with the labeler but I did not touch anything with that. I did find at least one other pull request with same error.

@loutPhilipps
Copy link
Contributor

Me neither :/

Copy link
Contributor

@loutPhilipps loutPhilipps left a comment

Choose a reason for hiding this comment

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

Changes look good, CI labeler seems to be lacking permissions but it should not block this PR i think

@dmcdii dmcdii force-pushed the main branch 2 times, most recently from ea875f0 to 90ef5d7 Compare March 29, 2024 13:40
@dmcdii
Copy link
Contributor Author

dmcdii commented Mar 29, 2024

@loutPhilipps Sorry missed there were changes rebase complete.

@dmcdii
Copy link
Contributor Author

dmcdii commented Apr 4, 2024

@loutPhilipps Had to rebase again. I noticed it did not merge, is there something else I need to do in order to get it merged?

@loutPhilipps loutPhilipps merged commit 6b53175 into DataDog:main Apr 5, 2024
16 of 17 checks passed
@loutPhilipps
Copy link
Contributor

@loutPhilipps Had to rebase again. I noticed it did not merge, is there something else I need to do in order to get it merged?

Just merged it for you 😄

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.

Synthetics Private Location - There is no way to add labels just to the pods managed by the deployment
2 participants