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 support for podAnnotations helm rollme and/or checksum/config #658

Open
cristian98149 opened this issue Jul 24, 2024 · 0 comments
Open

Comments

@cristian98149
Copy link

Hi,

as in helm official docs (https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments), rollme and checksum/config annotations can be used in order to restart pod after a helm upgrade or configmap changes.

Currently, it is not possible to specify via values.yaml "rollme: {{ randAlphaNum 5 | quote }}" and "checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}" while they contain templating function that cannot be specified in values file.

I would suggest to add "rollme: {{ randAlphaNum 5 | quote }}" in spec.template.metadata.annotations field in statefulset.yaml influxdb2 chart template and use a boolean value in values.yaml (rollme for example) for controlling this annotation.

This could be very useful.

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

No branches or pull requests

1 participant