[zh] Update pod-configmap-env-var-valueFrom.md

Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
xin.li 2022-03-29 19:01:46 +08:00
parent df4728f9cd
commit 41336b8c06
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ spec:
containers: containers:
- name: test-container - name: test-container
image: k8s.gcr.io/busybox image: k8s.gcr.io/busybox
command: [ "/bin/sh", "-c", "echo $(SPECIAL_LEVEL_KEY) $(SPECIAL_TYPE_KEY)" ] command: [ "/bin/echo", "$(SPECIAL_LEVEL_KEY) $(SPECIAL_TYPE_KEY)" ]
env: env:
- name: SPECIAL_LEVEL_KEY - name: SPECIAL_LEVEL_KEY
valueFrom: valueFrom: