Skip to main content

External secrets operator

Force re-fetch of a secret

If you need to re-fetch a secret right now, just change an annotation of it. The recommended way is running:

kubectl annotate es <secret-name> force-sync=$(date +%s) --overwrite

After re-fetching the secret, if the secret is used in a deployment you might need to reset the pod. Easiest way is to delete it and let Kubernetes recreate it:

kubectl delete pod/<pod-name> --namespace <namespace>