<p>I create a secret and mount it as file in pod(config in deployment).
If I change the secret, the mounted file will be changed in few seconds.
But how can I check the file is updated actually? I don't want to exec into pod and check it , because I want to check it by k8s api or k8s resource status. Is there any way to do that?</p>

Glaha
<p>You wouldn't really in general check that Kubernetes is not broken. Unless you think you've found a bug, in which case you would use <code>kubectl exec</code> and probably many other things to try and track it down.</p>
