Merge pull request #32609 from my-git9/pod-configmap-env-var-valueFrom

[zh]Pod configmap env var value from
This commit is contained in:
Kubernetes Prow Robot 2022-03-29 22:34:27 -07:00 committed by GitHub
commit 9b9ac3a458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: