Skip to content

Commit 41336b8

Browse files
committed
[zh] Update pod-configmap-env-var-valueFrom.md
Signed-off-by: xin.li <[email protected]>
1 parent df4728f commit 41336b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/zh/examples/pods/pod-configmap-env-var-valueFrom.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ spec:
66
containers:
77
- name: test-container
88
image: k8s.gcr.io/busybox
9-
command: [ "/bin/sh", "-c", "echo $(SPECIAL_LEVEL_KEY) $(SPECIAL_TYPE_KEY)" ]
9+
command: [ "/bin/echo", "$(SPECIAL_LEVEL_KEY) $(SPECIAL_TYPE_KEY)" ]
1010
env:
1111
- name: SPECIAL_LEVEL_KEY
1212
valueFrom:

0 commit comments

Comments
 (0)