Hands-On: Creating ConfigMaps Declaratively

Learn how to create ConfigMaps declaratively.

We'll cover the following

Creating ConfigMaps

The following YAML is the multimap.yml and defines two map entries: given and family. It has the usual kind, apiVersion and metadata fields. However, as previously mentioned, it doesn’t have a spec section. Instead, it has a data section where we define the map of key-value pairs.

Get hands-on with 1400+ tech skills courses.