secrets-provider-for-k8s icon indicating copy to clipboard operation
secrets-provider-for-k8s copied to clipboard

Secrets Provider image not updating secrets file when template under ConfigMap is updated (push-to-file approach)

Open kanth222 opened this issue 1 year ago • 0 comments
trafficstars

Summary

The Secrets Provider image for Kubernetes is not updating the secrets file when the template in the ConfigMap is updated while using the push-to-file approach.

Steps to Reproduce

  1. While deploying application make sure you are reading template from config map.
  2. Once the application is deployed along with secrets provider image as sidecar, validate secrets file is generated and accessible by application container.
  3. Now update the template in config map to add additional secret (you may use existing variable with different key in template file).
  4. Wait for 1-2 mins to pick the template in shared volume mount to be updated.

Expected Results

The target secrets file must be updated as per template provided in config map.

Actual Results

The actual secrets file is not getting updated while template with in the shared volume is getting updated.

Reproducible

  • [X] Always
  • [ ] Sometimes
  • [ ] Non-Reproducible

Version/Tag number

What version of the product are you running? Any version info that you can share is helpful. For example, you might give the version from Docker logs, the Docker tag, a specific download URL, the output of the /info route, etc.

Using the latest tag image.

Environment setup

Running in GKE cluster.

Additional Information

Add any other context about the problem here.

kanth222 avatar Jul 15 '24 07:07 kanth222