DevOps · Concept
ConfigMap
A ConfigMap stores non-confidential configuration as key-value pairs. Pods can use its values as environment variables, command arguments, or files in a volume.
Last updated
- Since
- v1.19
Syntax
apiVersion: v1
kind: ConfigMap
metadata:
name: <name>
data: {}
# Optional: binaryData, immutableIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
SecretConfigMapListConfigMapKeyRefConfigMapRefConfigMapGenerator