- Home
- All questions
- Question 103
CKA study material · question 103 of 1000
In configMapGenerator, what is the difference between listing a file under files and under envs?
Show the answer
Answer: B. files embeds the file as one key; envs makes each line its own key
A file under files becomes the value of a single key, while an env file's lines each become keys.
Source: Declarative Management of Kubernetes Objects Using Kustomize (Kubernetes) — configMapGenerator