external-secrets

by joaquinito2051

Helm chartv2.15.0App v2.15.0

External secrets management for Kubernetes

About this chart

External Secrets

External secrets management for Kubernetes

TL;DR

helm repo add external-secrets https://charts.external-secrets.io
helm install external-secrets external-secrets/external-secrets

Installing the Chart

To install the chart with the release name external-secrets:

helm install external-secrets external-secrets/external-secrets

Custom Resources

By default, the chart will install external-secrets CRDs, this can be controlled with installCRDs value.

Uninstalling the Chart

To uninstall the external-secrets deployment:

helm uninstall external-secrets

The command removes all the Kubernetes components associated with the chart and deletes the release.

Values

KeyTypeDefaultDescription
affinityobject{}
bitwarden-sdk-server.enabledboolfalse
bitwarden-sdk-server.namespaceOverridestring""
certController.affinityobject{}
certController.createbooltrueSpecifies whether a certificate controller deployment be created.
certController.deploymentAnnotationsobject{}Annotations to add to Deployment
certController.enablePartialCachebooltrueRestrict the cert controller's informer cache to CustomResourceDefinitions and ValidatingWebhookConfigurations carrying the external-secrets.io/component label. Disable this only if the CRDs it manages were installed without that label.
certController.extraArgsobject{}
certController.extraEnvlist[]
certController.extraInitContainerslist[]
certController.extraVolumeMountslist[]
certController.extraVolumeslist[]
certController.hostAliaseslist[]Specifies hostAliases to cert-controller deployment
certController.hostNetworkboolfalseRun the certController on the host network
certController.hostUsersboolnilSpecifies if certController pod should use hostUsers or not. If hostNetwork is true, hostUsers should be too. Only available in Kubernetes ≥ 1.33. @schema type: [boolean, null]
certController.image.flavourstring""
certController.image.pullPolicystring"IfNotPresent"
certController.image.repositorystring"ghcr.io/external-secrets/external-secrets"
certController.image.tagstring""
certController.imagePullSecretslist[]
certController.livenessProbe.enabledboolfalse
certController.livenessProbe.failureThresholdint5
certController.livenessProbe.initialDelaySecondsint10
certController.livenessProbe.periodSecondsint10
certController.livenessProbe.portint8081Set this value to 'live' (for named port) or an integer for liveness probes. @schema type: [string, integer]
certController.livenessProbe.successThresholdint1
certController.livenessProbe.timeoutSecondsint5
certController.logobject{"level":"info","timeEncoding":"epoch"}Specifies Log Params to the Certificate Controller
certController.metrics.listen.auth.enabledboolfalseEnable Kubernetes RBAC-based authentication for certController's metrics endpoint. Requires certController.metrics.listen.secure to be true. Default value is false.
certController.metrics.listen.portint8080
certController.metrics.listen.secure.certDirstring"/etc/tls"TLS cert directory path
certController.metrics.listen.secure.certFilestring"/etc/tls/tls.crt"TLS cert file path
certController.metrics.listen.secure.enabledboolfalse
certController.metrics.listen.secure.keyFilestring"/etc/tls/tls.key"TLS key file path
certController.metrics.service.annotationsobject{}Additional service annotations
certController.metrics.service.enabledboolfalseEnable if you use another monitoring tool than Prometheus to scrape the metrics
certController.metrics.service.portint8080Metrics service port to scrape
certController.networkPolicyobject{"egress":[],"enabled":false,"ingress":[{"ports":[{"port":8080,"protocol":"TCP"},{"port":8081,"protocol":"TCP"}]}]}Setup a networkPolicy for external-secrets certController
certController.networkPolicy.egresslist[]The egress traffic The minimum egress ports required to function are: DNS (53/udp, 53/tcp) API server (80/tcp, 443/tcp, or 6443/tcp) You will need to customize this value to meet your needs
certController.networkPolicy.enabledboolfalseSpecifies whether the networkPolicy should be created.
certController.networkPolicy.ingresslist[{"ports":[{"port":8080,"protocol":"TCP"},{"port":8081,"protocol":"TCP"}]}]The ingress traffic Should match the health and (optionally) metrics port
certController.nodeSelectorobject{}
certController.podAnnotationsobject{}Annotations to add to Pod
certController.podDisruptionBudgetobject{"enabled":false,"minAvailable":1,"nameOverride":""}Pod disruption budget - for more details see https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
certController.podLabelsobject{}
certController.podSecurityContext.enabledbooltrue
certController.priorityClassNamestring""
certController.rbac.createbooltrueSpecifies whether role and rolebinding resources should be created.
certController.readinessProbe.addressstring""
certController.readinessProbe.enabledbooltrue
certController.readinessProbe.failureThresholdint3
certController.readinessProbe.initialDelaySecondsint20
certController.readinessProbe.periodSecondsint5
certController.readinessProbe.portint8081Set this value to 'ready' (for named port) or an integer for readiness probes. @schema type: [string, integer]
certController.readinessProbe.successThresholdint1
certController.readinessProbe.timeoutSecondsint5
certController.replicaCountint1
certController.requeueIntervalstring"5m"
certController.resourcesobject{}
certController.revisionHistoryLimitint10Specifies the amount of historic ReplicaSets k8s should keep (see https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy)
certController.runtimeClassNamestring""Pod runtime class name.
certController.schedulerNamestring""Pod scheduler name.
certController.securityContext.allowPrivilegeEscalationboolfalse
certController.securityContext.capabilities.drop[0]string"ALL"
certController.securityContext.enabledbooltrue
certController.securityContext.readOnlyRootFilesystembooltrue
certController.securityContext.runAsNonRootbooltrue
certController.securityContext.runAsUserint1000
certController.securityContext.seccompProfile.typestring"RuntimeDefault"
certController.serviceAccount.annotationsobject{}Annotations to add to the service account.
certController.serviceAccount.automountbooltrueAutomounts the service account token in all containers of the pod
certController.serviceAccount.createbooltrueSpecifies whether a service account should be created.
certController.serviceAccount.extraLabelsobject{}Extra Labels to add to the service account.
certController.serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template.
certController.startupProbe.enabledboolfalseEnabled determines if the startup probe should be used or not. By default it's disabled.
certController.startupProbe.failureThresholdint30Number of consecutive failures before the container is restarted. The startup window is initialDelaySeconds + failureThreshold * periodSeconds.
certController.startupProbe.initialDelaySecondsint10Number of seconds after the container has started before the startup probe is initiated.
certController.startupProbe.periodSecondsint10How often (in seconds) to perform the startup probe.
certController.strategyobject{}Set deployment strategy
certController.tlsobject{"ciphers":"","curvePreferences":[],"minVersion":""}CertController-specific TLS security profile overrides. When set, these override the global tls.* values for the cert-controller deployment.
certController.tls.ciphersstring""Comma-separated list of TLS cipher suites. If empty, the global tls.ciphers is used. +docs:property
certController.tls.curvePreferenceslist[]Ordered list of TLS key exchange curves. If empty, the global tls.curvePreferences is used. +docs:property
certController.tls.minVersionstring""Minimum TLS version supported (e.g. "1.2" or "1.3"). If empty, the global tls.minVersion is used. +docs:property
certController.tolerationslist[]
certController.topologySpreadConstraintslist[]
commonLabelsobject{}Additional labels added to all helm chart resources.
concurrentint1Specifies the number of concurrent ExternalSecret Reconciles external-secret executes at a time.
controllerClassstring""If set external secrets will filter matching Secret Stores with the appropriate controller values.
crds.annotationsobject{}
crds.conversion.enabledboolfalseConversion is disabled by default as we stopped supporting v1alpha1.
crds.createClusterExternalSecretbooltrueIf true, create CRDs for Cluster External Secret. If set to false you must also set processClusterExternalSecret: false.
crds.createClusterGeneratorbooltrueIf true, create CRDs for Cluster Generator. If set to false you must also set processClusterGenerator: false.
crds.createClusterPushSecretbooltrueIf true, create CRDs for Cluster Push Secret. If set to false you must also set processClusterPushSecret: false.
crds.createClusterSecretStorebooltrueIf true, create CRDs for Cluster Secret Store. If set to false you must also set processClusterStore: false.
crds.createPushSecretbooltrueIf true, create CRDs for Push Secret. If set to false you must also set processPushSecret: false.
crds.createSecretStorebooltrueIf true, create CRDs for Secret Store. If set to false you must also set processSecretStore: false.
crds.unsafeServeV1Beta1boolfalseIf true, enable v1beta1 API version serving for ExternalSecret, ClusterExternalSecret, SecretStore, and ClusterSecretStore CRDs. v1beta1 is deprecated. Only enable this for backward compatibility if you have existing v1beta1 resources. Warning: This flag will be removed on 2026.05.01.
createOperatorbooltrueSpecifies whether an external secret operator deployment be created.
deploymentAnnotationsobject{}Annotations to add to Deployment
dnsConfigobject{}Specifies dnsOptions to deployment
dnsPolicystring"ClusterFirst"Specifies dnsPolicy to deployment
enableHTTP2boolfalseif true, HTTP2 will be enabled for the services created by all controllers, curently metrics and webhook.
extendedMetricLabelsboolfalseIf true external secrets will use recommended kubernetes annotations as prometheus metric labels.
extraArgsobject{}
extraContainerslist[]
extraEnvlist[]
extraInitContainerslist[]
extraObjectslist[]
extraVolumeMountslist[]
extraVolumeslist[]
fullnameOverridestring""
genericTargetsobject{"enabled":false,"resources":[]}Enable support for generic targets (ConfigMaps, Custom Resources). Warning: Using generic target. Make sure access policies and encryption are properly configured. When enabled, this grants the controller permissions to create/update/delete ConfigMaps and optionally other resource types specified in generic.resources.
genericTargets.enabledboolfalseEnable generic target support
genericTargets.resourceslist[]List of additional resource types to grant permissions for. Each entry should specify apiGroup, resources, and verbs. Example: resources: - apiGroup: "argoproj.io" resources: ["applications"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
global.affinityobject{}
global.compatibility.openshift.adaptSecurityContextstring"auto"Manages the securityContext properties to make them compatible with OpenShift. Possible values: auto - Apply configurations if it is detected that OpenShift is the target platform. force - Always apply configurations. disabled - No modification applied.
global.hostAliaseslist[]Global hostAliases to be applied to all deployments
global.imagePullSecretslist[]Global imagePullSecrets to be applied to all deployments
global.nodeSelectorobject{}
global.podAnnotationsobject{}Global pod annotations to be applied to all deployments
global.podLabelsobject{}Global

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 v2.15.0 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