Staging and production overlays for a grants portal share one cluster and would collide on resource names if left unchanged. How does Kustomize typically avoid that collision?
Select an answer to reveal the explanation.
Short Explanation
Prefixes and suffixes are like putting “STG-” or “-prod” on locker tags in the same hallway. Same contents, different nameplates—no two apps fighting over one locker label.
Full Explanation
namePrefix and nameSuffix transformers rename resources per overlay so staging and production objects can coexist without name clashes when namespaces alone are insufficient or when naming conventions require it. Deleting namespaces or inventing annotations to bypass uniqueness is unsafe and incorrect; identical names worsen collisions.