Updated docs/user-guide/configmap/index.md sample code command args to work correctly.

pull/997/head
Naveen 2016-06-17 20:03:39 -04:00 committed by Phillip Wittrock
parent e28c21045f
commit 6eb75c100e
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