Merge pull request #997 from pwittrock/patch-1

Updated docs/user-guide/configmap/index.md sample code command args t…
This commit is contained in:
Phillip Wittrock 2016-08-09 09:57:59 -07:00 committed by GitHub
commit 5c3e93da9a
1 changed files with 2 additions and 2 deletions

View File

@ -366,7 +366,7 @@ spec:
containers:
- name: test-container
image: gcr.io/google_containers/busybox
command: [ "/bin/sh", "cat /etc/config/special.how" ]
command: [ "/bin/sh", "-c", "cat /etc/config/special.how" ]
volumeMounts:
- name: config-volume
mountPath: /etc/config
@ -394,7 +394,7 @@ spec:
containers:
- name: test-container
image: gcr.io/google_containers/busybox
command: [ "/bin/sh", "cat /etc/config/path/to/special-key" ]
command: [ "/bin/sh","-c","cat /etc/config/path/to/special-key" ]
volumeMounts:
- name: config-volume
mountPath: /etc/config