1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/applications/config-maps.adoc
2024-03-15 12:39:37 +00:00

30 lines
1019 B
Plaintext

:_mod-docs-content-type: ASSEMBLY
[id="config-maps"]
= Using config maps with applications
include::_attributes/common-attributes.adoc[]
:context: config-maps
toc::[]
Config maps allow you to decouple configuration artifacts from image content to keep containerized applications portable.
The following sections define config maps and how to create and use them.
include::modules/nodes-pods-configmap-overview.adoc[leveloffset=+1]
.Additional resources
* xref:../nodes/pods/nodes-pods-configmaps.adoc[Creating and using config maps]
[id="nodes-pods-config-maps-consuming-configmap-in-pods"]
== Use cases: Consuming config maps in pods
The following sections describe some uses cases when consuming `ConfigMap`
objects in pods.
include::modules/nodes-pods-configmaps-use-case-consuming-in-env-vars.adoc[leveloffset=+2]
include::modules/nodes-pods-configmaps-use-case-setting-command-line-arguments.adoc[leveloffset=+2]
include::modules/nodes-pods-configmaps-use-case-consuming-in-volumes.adoc[leveloffset=+2]