File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
docs/openshift/configuration/config-map Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 33ConfigMaps allow you to decouple configuration artifacts from image content to keep containerized applications portable.
44
55You can data from a ConfigMap in 3 different ways.
6+
67- As a single environment variable specific to a single key
78- As a set of environment variables from all keys
89- As a set of files, each key represented by a file on mounted volume
@@ -11,22 +12,22 @@ You can data from a ConfigMap in 3 different ways.
1112
1213=== "OpenShift"
1314
14- [Mapping Volumes :fontawesome-solid-globe :](https://docs.openshift.com/container-platform/4.13/nodes/containers/nodes-containers-projected-volumes.html){ .md-button target="_blank"}
15+ [Mapping Volumes :fontawesome-solid-map :](https://docs.openshift.com/container-platform/4.13/nodes/containers/nodes-containers-projected-volumes.html){ .md-button target="_blank"}
1516
1617=== "Kubernetes"
1718
18- [ConfigMaps :fontawesome-solid-globe :](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/){ .md-button target="_blank"}
19+ [ConfigMaps :fontawesome-solid-map :](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/){ .md-button target="_blank"}
1920
2021## References
2122
2223``` yaml
2324apiVersion : v1
2425kind : ConfigMap
2526metadata :
26- name : my-cm
27+ name : my-cm
2728data :
28- color : blue
29- location : naboo
29+ color : blue
30+ location : naboo
3031` ` `
3132
3233` ` ` yaml
8990 - configMapRef :
9091 name : my-cm
9192 restartPolicy : Never
92- ` ` `
93+ ` ` `
You can’t perform that action at this time.
0 commit comments