# Two bases included by one overlay both define a ConfigMap named settings in the same namespace. What happens?

Kustomize, Hard (Expert), Troubleshooting. https://k8wiz.com/uquiz/two-bases-included-by-one-overlay-both-define-a-configmap-named-settings-in-the-same-namespace-what-happens

- A. The second ConfigMap replaces the first
- B. The build fails, because two resources have the same ID
- C. Kustomize merges the data of both ConfigMaps into a single one
- D. Both are kept, each with its own hash suffix

**Answer:** The build fails, because two resources have the same ID

**Explanation:** Kustomize identifies resources by group, version, kind, namespace and name, and two with the same ID are a conflict. Give the bases different name prefixes, or move the ConfigMap into one shared base.
