Skip to main content

Config Map

A Config Map is a key-value store used to hold configuration data for applications in a Kubernetes environment. It allows users to decouple environment-specific configuration from application code, keeping the configuration details separate and more manageable. Config Maps can be used to inject environment variables into containers, configure application settings, or store configuration files. For a more detailed guide on using Config Maps, you can visit the official Kubernetes documentation.

Terraform Mappings:

  • kubernetes_config_map_v1.metadata[0].name
  • kubernetes_config_map.metadata[0].name

Supported Methods​

  • GET: Get a Config Map by name
  • LIST: List all Config Maps
  • SEARCH: Search for a Config Map using the ListOptions JSON format e.g. ("labelSelector": "app=wordpress")