-
Notifications
You must be signed in to change notification settings - Fork 78
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
fix: Add pod labels to pod spec inside deployment object #111
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @juissi-t ! Thank you for contributing this patch! 👍
The code looks good to me, however there's a few things to address:
- WDYT about extending this to include
commonAnnotations
as well? Do you think it would be useful? - You need to regenerate
README.md
(update the version). It can be done by executingpre-commit run -a
orhelm-docs --chart-search-root=charts --template-files=./_templates.gotmpl --template-files=README.md.gotmpl
- In order to merge this PR we will need you to update your commit with Developer Certificate of Origin (can be done by
git commit -s
option) and have it GPG signed
5025e37
to
c2cb47f
Compare
c2cb47f
to
17e0c84
Compare
Frankly, I don't know if common annotations in pods would be useful. But since they are just annotations and already included in a lot of the other manifests, why not in the pod manifest as well? I added them to the pod spec now.
Done.
Done. |
17e0c84
to
7ef5951
Compare
95f6a90
to
aaec036
Compare
aaec036
to
f8a611f
Compare
2af478f
to
7fbdbf7
Compare
Signed-off-by: Juha Tiensyrjä <juha.tiensyrja@gmail.com>
7fbdbf7
to
ca69894
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @juissi-t! 🙏
Description of the change
Add the labels defined in
podLabels
to pods managed by the deployment object.Existing or Associated Issue(s)
Fixes #110
Additional Information
n/a
Checklist
Chart.yaml
according to semver.values.yaml
and added to the README.md. The helm-docs utility can be used to generate the necessary content. Usehelm-docs --dry-run
to preview the content.ct lint
command.