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
+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