# A kustomization sets namespace: team-a and includes a ClusterRole. What happens to the ClusterRole?

Kustomize, Hard (Expert), Concepts. https://k8wiz.com/uquiz/a-kustomization-sets-namespace-team-a-and-includes-a-clusterrole-what-happens-to-the-clusterrole

- A. It gets metadata.namespace: team-a, and the API server then rejects it
- B. Nothing, because cluster-scoped resources don't get a namespace
- C. It is converted into a Role in the team-a namespace
- D. The build fails because the scopes are mixed

**Answer:** Nothing, because cluster-scoped resources don't get a namespace

**Explanation:** Kustomize knows which built-in kinds are cluster-scoped, such as ClusterRole, Namespace and CustomResourceDefinition, and leaves them alone. Namespaced resources get team-a whatever the manifests said.
