Why are plain Kubernetes Secrets a problem in GitOps?
BeginnerConceptSecrets in GitOps
Answer
A Kubernetes Secret is only base64-encoded, not encrypted. Committing it to Git exposes the value to everyone with repo access, forever, in every clone and in history, even if you delete it later. GitOps needs either encrypted secrets in Git (Sealed Secrets, SOPS) or references to an external secret store (External Secrets Operator, Vault agents, CSI driver).
More on Secrets in GitOps
How does Sealed Secrets work?BeginnerWhat are Sealed Secrets scopes?IntermediateHow does Sealed Secrets key rotation work, and what must you back up?AdvancedHow does External Secrets Operator fit into GitOps?BeginnerShow an ExternalSecret for AWS Secrets Manager.IntermediateHow does SOPS work, and how do you use it with Argo CD?Intermediate