Skip to content

Commit efc3cf2

Browse files
Bharath KaimalBharath Kaimal
authored andcommitted
update to kubernetes-configuration-configmap
1 parent 3bc1fee commit efc3cf2

File tree

1 file changed

+7
-6
lines changed
  • docs/openshift/configuration/config-map

1 file changed

+7
-6
lines changed

docs/openshift/configuration/config-map/index.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
ConfigMaps allow you to decouple configuration artifacts from image content to keep containerized applications portable.
44

55
You 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
2324
apiVersion: v1
2425
kind: ConfigMap
2526
metadata:
26-
name: my-cm
27+
name: my-cm
2728
data:
28-
color: blue
29-
location: naboo
29+
color: blue
30+
location: naboo
3031
```
3132
3233
```yaml
@@ -89,4 +90,4 @@ spec:
8990
- configMapRef:
9091
name: my-cm
9192
restartPolicy: Never
92-
```
93+
```

0 commit comments

Comments
 (0)