Update configmap docs with subpath limitation

This note should be added to avoid confusion just as [Secrets](/docs/concepts//configuration/secret#mounted-secrets-are-updated-automatically)
This commit is contained in:
glongzh
2021-12-23 10:23:23 +08:00
committed by GitHub
parent 18758d7614
commit 19ab41d4b8
@@ -239,6 +239,10 @@ propagation delay, where the cache propagation delay depends on the chosen cache
ConfigMaps consumed as environment variables are not updated automatically and require a pod restart.
{{< note >}}
A container using a ConfigMap as a [subPath](/docs/concepts/storage/volumes#using-subpath) volume will not receive ConfigMap updates.
{{< /note >}}
## Immutable ConfigMaps {#configmap-immutable}
{{< feature-state for_k8s_version="v1.21" state="stable" >}}