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

Vector pods are not being recreated with changes in the secrets #351

Open
dgdelahera opened this issue Dec 20, 2023 · 0 comments
Open

Vector pods are not being recreated with changes in the secrets #351

dgdelahera opened this issue Dec 20, 2023 · 0 comments

Comments

@dgdelahera
Copy link

dgdelahera commented Dec 20, 2023

According to the Helm documentation, a checksum function can be used to ensure a deployment's annotation section is updated if another file changes. This will recreate pods if changes in ConfigMaps or Secrets.

At the moment, the deployment has this annotation for the ConfigMaps. However, the annotation for the secrets is missing, causing that a change in the secret doesn't recreate the pods.

Adding the following annotation to the Deployment will fix this problem:

checksum/secrets:  {{ $.Values.secrets.generic | sha256sum }}
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