2025-10-30 12:29:34 -05:00
// Module included in the following assemblies:
//
// * rosa_learning/deploying_application_workshop/learning-deploying-configmaps-secrets-env-var.adoc
:_mod-docs-content-type: PROCEDURE
[id="learning-deploying-configmaps-secrets-envvar-configmaps_{context}"]
= Configuration using ConfigMaps
2025-11-18 15:39:52 -05:00
2025-11-21 12:03:25 -06:00
[role="_abstract"]
2025-10-30 12:29:34 -05:00
Config maps allow you to decouple configuration artifacts from container image content to keep containerized applications portable.
.Procedure
2025-11-21 12:03:25 -06:00
* In the OSToy application, in the left menu, click *Config Maps*, displaying the contents of the config map available to the OSToy application. The code snippet shows an example of a config map configuration:
+
*For example*:
2025-10-30 12:29:34 -05:00
+
[source,text]
----
kind: ConfigMap
apiVersion: v1
metadata:
name: ostoy-configmap-files
data:
config.json: '{ "default": "123" }'
----