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.
More easy Kustomize questions
- Which type does secretGenerator give a Secret when the entry sets no type?
- What is Kustomize?
- Which file tells Kustomize which resources to build and how to change them?
- Which command prints the built output of a kustomization directory with kubectl, without applying it?
- Which flag makes kubectl apply a kustomization directory?
- Which field lists the manifest files and directories a kustomization builds from?