GitOps & ArgoCD (50 Qs)•Part 3: Enterprise Scale, Security & Edge GitOps (Senior / Staff)
Handling Cluster-Scoped Resources vs Namespace-Scoped Resources in GitOps.
senior LevelSecurity & Auth
In Simple Words:
- Namespace-Scoped Resources (
Deployments,Services,ConfigMaps): Managed safely by product teams in application repositories. - Cluster-Scoped Resources (
CustomResourceDefinitions,ClusterRoles,StorageClasses): Can break the entire cluster if misconfigured or deleted. - Best Practice: Separate cluster infrastructure into dedicated administrative Git repositories managed by central Platform/SRE teams with strict PR review requirements. Configure ArgoCD project whitelists to deny developers the ability to create cluster-scoped primitives.