Created
July 21, 2021 07:44
-
-
Save GaetanoPiazzolla/a26b3b95c4fd0d820c3d2632f6bf24d6 to your computer and use it in GitHub Desktop.
Using configmap as envFrom
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
. . . containers: | |
- name: test-container | |
image: k8s.gcr.io/busybox | |
command: [ "/bin/sh", "-c", "env" ] | |
envFrom: | |
- configMapRef: | |
name: the_configmap_name_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related to medium article:
Update Angular/React environment dynamically reading variables from Kubernetes ConfigMaps