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

Kustomize, Easy (Beginner), Generation. https://k8wiz.com/uquiz/why-does-a-configmap-generated-by-kustomize-get-a-name-like-app-config-5g2m8k7h

- A. Kustomize appends a hash of the data, so new data gives a new name
- B. Kubernetes adds a random suffix to every generated object to avoid clashes
- C. The suffix is the short Git commit SHA the build ran from
- D. Kustomize adds the date the ConfigMap was generated

**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.
