Interview Prep/GitOps & Argo CD/Repos, Clusters, Projects & Permissions

A namespaced resource is blocked: `resource networking.k8s.io:NetworkPolicy is not permitted in project team-a.`

IntermediateTroubleshootingRepos, Clusters, Projects & Permissions
Answer

Likely causes → The project has a namespaceResourceBlacklist entry for that kind, or a namespaceResourceWhitelist that omits it. Platforms often block NetworkPolicy, ResourceQuota and LimitRange so tenants cannot loosen guardrails.

Diagnose → argocd proj get team-a -o yaml | yq '.spec.namespaceResource*'.

Fix → If the block is intended, move the object to the platform repo. If not, remove it from the blacklist through a reviewed PR.

Prevent → Document which kinds tenants own; return a clear error in a CI policy check before merge.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Repos, Clusters, Projects & Permissions