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:
commit
5c3e93da9a
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue