using envVar in pod spec
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: config2 | |
data: | |
FOO_ENV: bar | |
HELLO_ENV: world | |
--- | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: pod3 | |
spec: | |
containers: | |
- name: nginx | |
image: nginx | |
envFrom: | |
- configMapRef: | |
name: config2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment