Update docs with subpath limitation (#7533)
This commit is contained in:
committed by
k8s-ci-robot
parent
ab1398e940
commit
21926145fe
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user