k8wiz
Kustomize
Easy
Generation

Why does a ConfigMap generated by Kustomize get a name like app-config-5g2m8k7h?

Select your answer:

Show answer and explanation

Answer: Kustomize appends a hash of the data, so new data gives a new name

Explanation

Because the name changes whenever the data changes, and Kustomize updates every reference to it, Deployments that use the ConfigMap roll out with the new values. generatorOptions.disableNameSuffixHash: true keeps a fixed name.