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:
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: