k8wiz
Kustomize
Easy
Generation

Which configMapGenerator field reads a file of KEY=value lines and makes each line its own key?

Select your answer:

Show answer and explanation

Answer: envs

Explanation

Each file listed under envs is parsed line by line, split at the first =, and every pair becomes a separate key. Empty lines and lines starting with # are skipped. A file under files becomes a single key that holds the whole file content.

Read more about Kustomize