fix example in configure-pod-configmap.md

pull/4143/merge
Charlie R.C 2017-06-20 04:34:59 -05:00 committed by Janet Kuo
parent 57a3ad4544
commit a9863612bc
1 changed files with 3 additions and 3 deletions

View File

@ -248,7 +248,7 @@ spec:
containers:
- name: test-container
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:
- name: config-volume
mountPath: /etc/config
@ -258,11 +258,11 @@ spec:
name: special-config
items:
- key: special.level
path: /keys
path: keys
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
very