...

/

Hands-On: Creating ConfigMaps Declaratively

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.

Access this course and 1400+ top-rated courses and projects.