Merge branch 'master' of https://github.com/kubernetes/kubernetes.github.io into release-1.7
* 'master' of https://github.com/kubernetes/kubernetes.github.io: networkpolicies.md --> network-policies.md for SEO Added link (#4161) Use "sudo -i" instead of "sudo su -" Create a section for kubeadm topics Consolidate SecurityContext topics. (#4005) Typo fix in "Adding ConfigMap data to a Volume" section (#3966)
This commit is contained in:
@@ -202,7 +202,7 @@ data:
|
||||
### Populate a Volume with data stored in a ConfigMap
|
||||
|
||||
Add the ConfigMap name under the `volumes` section of the Pod specification.
|
||||
This adds the ConfigMap data to the directory specified as `volumeMount.mountPath` (in this case, `/etc/config`).
|
||||
This adds the ConfigMap data to the directory specified as `volumeMounts.mountPath` (in this case, `/etc/config`).
|
||||
The `command` section references the `special.level` item stored in the ConfigMap.
|
||||
|
||||
```yaml
|
||||
|
||||
Reference in New Issue
Block a user