k8wiz
Kustomize
Hard
Generation

An overlay's configMapGenerator uses the same name as one generated in the base, with no behavior set. What happens?

Select your answer:

Show answer and explanation

Answer: The build fails, because the default behavior, create, needs a new name

Explanation

create is the default and only makes new ConfigMaps. To change one generated in the base, the overlay sets behavior: merge to add or override keys, or behavior: replace to swap the whole contents.