GitOps & ArgoCD (50 Qs)•Part 3: Enterprise Scale, Security & Edge GitOps (Senior / Staff)
How do you prevent and audit manual `kubectl` backdoor overrides?
senior LevelSecurity & Auth
In Simple Words:
- In strict GitOps environments, remove cluster-admin
writeaccess for all human developers. Human access should be strictlyread-only(kubectl get,kubectl logs). - All changes must go through a Git Pull Request with peer approvals.
- Enable ArgoCD
selfHeal: trueso that even if a developer with elevated emergency access edits a deployment, it is reverted back to the Git state within seconds.