Created
June 6, 2023 18:08
-
-
Save parashuramn/37c0d286e631bc927c45aa2a17ec0d7d to your computer and use it in GitHub Desktop.
pod-env-var.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Pod | |
apiVersion: v1 | |
metadata: | |
name: pod-env-var | |
spec: | |
containers: | |
- name: env-var-configmap | |
image: nginx:1.7.9 | |
envFrom: | |
- configMapRef: | |
name: example-configmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment