Improve configmap usage as pod command and args

This commit is contained in:
Sylvain COULOMBEL
2020-11-17 21:54:25 +01:00
parent de6d96dc5c
commit 1ec78b1f28
2 changed files with 2 additions and 2 deletions
@@ -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: