Update docs with subpath limitation (#7533)

This commit is contained in:
Michelle Au
2018-02-27 11:21:45 -08:00
committed by k8s-ci-robot
parent ab1398e940
commit 21926145fe
4 changed files with 31 additions and 0 deletions
+5
View File
@@ -338,6 +338,11 @@ However, it is using its local ttl-based cache for getting the current value of
As a result, the total delay from the moment when the secret is updated to the moment when new keys are
projected to the pod can be as long as kubelet sync period + ttl of secrets cache in kubelet.
**Note:** A container using a Secret as a
[subPath](/docs/concepts/storage/volumes#using-subpath) volume mount will not receive
Secret updates.
{: .note}
#### Using Secrets as Environment Variables
To use a secret in an environment variable in a pod: