concept

ConfigMap configuration

Learn how Kubernetes ConfigMaps supply non-sensitive configuration through environment variables and mounted files, and diagnose missing keys.

Formal Syntax & Structure

kubernetes syntaxkubernetes
ConfigMap configuration

Working Example

Example Snippetkubernetes
apiVersion: v1kind: ConfigMapmetadata:  name: book-settings  namespace: book-labdata:  THEME: "light"  MAX_RESULTS: "20"  settings.properties: |    theme=light    pageSize=20
Kubernetes Reference