[zh] Update pod-configmap-env-var-valueFrom.md
Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
parent
df4728f9cd
commit
41336b8c06
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue