When would you choose External Secrets Operator over helm-secrets?
IntermediateConceptSchema, Helmfile, Argo CD & Secrets
Answer
When the source of truth is a secret manager (AWS Secrets Manager, Vault, GCP Secret Manager) rather than Git, when secrets rotate independently of deploys, and when using Argo CD (which needs extra plugins for SOPS). The chart then renders an ExternalSecret that references a key name, never the value:
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: {{ include "shop.fullname" . }}-db
spec:
refreshInterval: 1h
secretStoreRef: { kind: ClusterSecretStore, name: aws-sm }
target: { name: {{ include "shop.fullname" . }}-db }
data:
- secretKey: password
remoteRef: { key: prod/shop/db, property: password }
No secret value ever enters the Helm release record. Use the API version your installed ESO release serves (v1 on recent releases).
More on Schema, Helmfile, Argo CD & Secrets
When is `values.schema.json` validated, and can it be skipped?IntermediateHow do you express "password is required only when the internal database is enabled" in a schema?AdvancedWhat is Helmfile?BeginnerShow a realistic `helmfile.yaml`.IntermediateWhat is the difference between `helmfile sync` and `helmfile apply`?IntermediateHow does Argo CD deploy a Helm chart?Advanced