external-secrets

by QuenchWorks

Helm chartv0.0.25App 2.15.0Apache-2.0Verified publisher

External Secrets Operator: syncs secrets from external APIs (Vault, cloud secret managers, and more) into Kubernetes Secrets via ExternalSecret/SecretStore CRDs. Hardened by QuenchWorks as a minimal, nonroot, CVE-gated image, cosign-signed and pinned by digest. Runs the single ESO binary as three deployments (controller, webhook, cert-controller); the cert-controller manages the webhook's self-signed CA, so no cert-manager dependency is required.

About this chart

Quenchworks External Secrets Operator

Hardened External Secrets Operator (ESO) on a minimal, nonroot, CVE-gated image, pinned by digest. ESO syncs secrets from external APIs (HashiCorp Vault, AWS/GCP/Azure secret managers, and many more) into native Kubernetes Secrets, driven by ExternalSecret / SecretStore CRDs.

Install

helm install eso oci://ghcr.io/quenchworks/charts/external-secrets \
  -n external-secrets --create-namespace

Verify the image

cosign verify ghcr.io/quenchworks/images/external-secrets \
  --certificate-identity-regexp 'https://github.com/quenchworks/.+' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Each build also ships an SPDX SBOM and SLSA provenance attestation. Verify them with gh attestation verify oci://ghcr.io/quenchworks/images/external-secrets --owner quenchworks.

Architecture

ESO is a single binary. This chart runs it as three Deployments that share one ServiceAccount and differ only by their subcommand:

DeploymentArgsRole
<release>-controllerexternal-secretsreconciles ExternalSecret/SecretStore/PushSecret and writes target Secrets
<release>-webhookexternal-secrets webhookvalidating-admission webhook (Service :443 -> container 10250)
<release>-cert-controllerexternal-secrets certcontrollergenerates the webhook's self-signed CA, stores it in a Secret, and injects the caBundle into the ValidatingWebhookConfigurations

Because the cert-controller manages the webhook CA, no cert-manager dependency is required. The CRDs are installed from the chart's crds/ directory (Helm applies them before the templates).

Smoke test (fake provider)

kubectl apply -n external-secrets -f - <<'EOF'
apiVersion: external-secrets.io/v1
kind: SecretStore
metadata: { name: fake }
spec: { provider: { fake: { data: [{ key: "/example", value: "hello" }] } } }
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata: { name: example }
spec:
  refreshInterval: 1h
  secretStoreRef: { name: fake, kind: SecretStore }
  target: { name: example-secret }
  data: [{ secretKey: greeting, remoteRef: { key: "/example" } }]
EOF

kubectl get secret -n external-secrets example-secret \
  -o jsonpath='{.data.greeting}' | base64 -d   # -> hello

Configuration

ValueDefaultNotes
image.repositoryghcr.io/quenchworks/images/external-secrets
image.digest(CI-maintained)signed multi-arch index
controller.replicaCount1set >1 with controller.leaderElect=true
controller.leaderElectfalsesingle active leader across replicas
controller.processClusterStoretruereconcile ClusterSecretStore (drops flag + RBAC if false)
controller.processClusterExternalSecrettruereconcile ClusterExternalSecret
controller.processPushSecrettruereconcile PushSecret
controller.processClusterPushSecrettruereconcile ClusterPushSecret
webhook.port10250HTTPS admission port (Service exposes :443)
webhook.failurePolicyFailIgnore to fail-open
webhook.certDir/tmp/certsmount point for the cert-controller-managed TLS
certController.requeueInterval5mCA/caBundle reconcile interval
rbac.createtruerequired: cluster-wide CRD + Secret access
serviceAccount.createtrueshared by all three deployments

The image is pinned by digest and cosign-signed; verify with the command in the post-install notes.

Deploy external-secrets with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has external-secrets on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartexternal-secrets is pinned at v0.0.25 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply