Hi Team I have a secret named "mysecret" created using --from-file=<directory . . .

Abdul:
Hi Team
I have a secret named “mysecret” created using --from-file=<directoryName> which I mounted on a pod in specific directory ( /var/myapp)
I see all my secret configs are copied to the mounted directory in Pod.
My question is will those mounted files will be in sync with the original scecret : “mysecret” created earlier or how to keep that secret in sync with Pod.
Thanks

Abdul:
just tested … it’s keeping the mounted “secret” files in sync with the k8 secret , if I’ll update “mysecret” with few more files… I can see them on the mounted volume inside the pod.