Skip to content

Commit 5c3e93d

Browse files
author
Phillip Wittrock
authored
Merge pull request kubernetes#997 from pwittrock/patch-1
Updated docs/user-guide/configmap/index.md sample code command args t…
2 parents 281b54e + 6eb75c1 commit 5c3e93d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/user-guide/configmap/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ spec:
366366
containers:
367367
- name: test-container
368368
image: gcr.io/google_containers/busybox
369-
command: [ "/bin/sh", "cat /etc/config/special.how" ]
369+
command: [ "/bin/sh", "-c", "cat /etc/config/special.how" ]
370370
volumeMounts:
371371
- name: config-volume
372372
mountPath: /etc/config
@@ -394,7 +394,7 @@ spec:
394394
containers:
395395
- name: test-container
396396
image: gcr.io/google_containers/busybox
397-
command: [ "/bin/sh", "cat /etc/config/path/to/special-key" ]
397+
command: [ "/bin/sh","-c","cat /etc/config/path/to/special-key" ]
398398
volumeMounts:
399399
- name: config-volume
400400
mountPath: /etc/config

0 commit comments

Comments
 (0)