fix example in configure-pod-configmap.md

This commit is contained in:
Charlie R.C
2017-06-20 04:34:59 -05:00
committed by Janet Kuo
parent 57a3ad4544
commit a9863612bc
@@ -248,7 +248,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","-c","cat /etc/config/keys/special.level" ] command: [ "/bin/sh","-c","cat /etc/config/keys" ]
volumeMounts: volumeMounts:
- name: config-volume - name: config-volume
mountPath: /etc/config mountPath: /etc/config
@@ -258,11 +258,11 @@ spec:
name: special-config name: special-config
items: items:
- key: special.level - key: special.level
path: /keys path: keys
restartPolicy: Never restartPolicy: Never
``` ```
When the pod runs, the command (`"cat /etc/config/keys/special.level"`) produces the output below: When the pod runs, the command (`"cat /etc/config/keys"`) produces the output below:
```shell ```shell
very very