Skip to content

External Secrets

External Secrets Operator (ESO) turns references to Vault values into Kubernetes Secrets. It installs no application accounts and does not choose password values. This repository keeps the references public while the operator supplies the actual values through Vault.

Property Configuration
Chart external-secrets 0.20.3
Deployment owner Flux secrets group
Operator manifests gitops/infrastructure/external-secrets
Store manifests gitops/infrastructure/secret-store
Store name vault ClusterSecretStore
Vault authentication Kubernetes mount kubernetes, role eso, token audience vault
Kubernetes identity ServiceAccount external-secrets in namespace external-secrets
Vault KV mount external-secrets (v2)

Initial setup

The separate secret-store group waits for the operator, but it also needs an initialized, unsealed, and configured Vault. Follow Vault bootstrap. The service-account identity and audience must match the Terraform role; the controller requests a token for that identity.

Shoutrrr has a separate included group that waits for this store and reads its own Vault record. Cloudflared has a dedicated group and reads its tunnel credential from cloudflared/tunnel.

Verify and diagnose

kubectl -n external-secrets get pods
kubectl get clustersecretstore vault
kubectl get externalsecrets -A

Running controllers are the first check; a Ready store confirms provider authentication, and Ready ExternalSecrets confirm delivery of each requested value. If the store fails, inspect kubectl describe clustersecretstore vault. If the store works but a secret fails, inspect that ExternalSecret's events for missing paths or properties.

See the official Vault provider guide for the provider model. The repository's secrets flow explains the division between Terraform, operator setup, and synchronization.