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

This commit is contained in:
Naveen
2016-06-17 20:03:39 -04:00
committed by Phillip Wittrock
parent e28c21045f
commit 6eb75c100e
+2 -2
View File
@@ -366,7 +366,7 @@ spec:
containers: containers:
- name: test-container - name: test-container
image: gcr.io/google_containers/busybox image: gcr.io/google_containers/busybox
command: [ "/bin/sh", "cat /etc/config/special.how" ] command: [ "/bin/sh", "-c", "cat /etc/config/special.how" ]
volumeMounts: volumeMounts:
- name: config-volume - name: config-volume
mountPath: /etc/config mountPath: /etc/config
@@ -394,7 +394,7 @@ spec:
containers: containers:
- name: test-container - name: test-container
image: gcr.io/google_containers/busybox 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: volumeMounts:
- name: config-volume - name: config-volume
mountPath: /etc/config mountPath: /etc/config