I have a secret, and I mounted it as a volume inside a deployment.
If I update the secrets value later, will the new updated value gets automatically reflected as well inside the deployment pods which I volume mounted the secret?
Note:
I am following the answer here to update the secret
How can I update a secret on Kubernetes when it is generated from a file?
Thanks in advance.
From the docs here
Your application need to reload the changed file to have the change effective either by watching for change in file system or by restarting the pod. Check this related discussion here