↓ Skip to main content

Configmap

ConfigMaps: K8S - 2

ConfigMaps: K8S - 2

·1 min
We looked at using the environment variables using the configmap in the last blog. The config map remains the same but now in YAML. apiVersion: v1 kind: ConfigMap metadata: name: happy-faces-mnt data: data.values: |- my.name=samarthya my.profession=engineer I will use this to mount it to a container and then see the contents of the file.