Merge pull request #32609 from my-git9/pod-configmap-env-var-valueFrom
[zh]Pod configmap env var value from
This commit is contained in:
commit
9b9ac3a458
|
|
@ -6,7 +6,7 @@ spec:
|
|||
containers:
|
||||
- name: test-container
|
||||
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:
|
||||
- name: SPECIAL_LEVEL_KEY
|
||||
valueFrom:
|
||||
|
|
|
|||
Loading…
Reference in New Issue