external-secrets

by Helm

Helm chartv0.15.0App v0.15.0

External secret management for Kubernetes

About this chart

External Secrets

External secret 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
certController.affinityobject{}
certController.createbooltrueSpecifies whether a certificate controller deployment be created.
certController.deploymentAnnotationsobject{}Annotations to add to Deployment
certController.extraArgsobject{}
certController.extraEnvlist[]
certController.extraVolumeMountslist[]
certController.extraVolumeslist[]
certController.fullnameOverridestring""
certController.hostNetworkboolfalseRun the certController on the host network
certController.image.flavourstring""
certController.image.pullPolicystring"IfNotPresent"
certController.image.repositorystring"oci.external-secrets.io/external-secrets/external-secrets"
certController.image.tagstring""
certController.imagePullSecretslist[]
certController.logobject{"level":"info","timeEncoding":"epoch"}Specifices Log Params to the Certificate Controller
certController.metrics.listen.portint8080
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.nameOverridestring""
certController.nodeSelectorobject{}
certController.podAnnotationsobject{}Annotations to add to Pod
certController.podDisruptionBudgetobject{"enabled":false,"minAvailable":1}Pod disruption budget - for more details see https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
certController.podLabelsobject{}
certController.podSecurityContext.enabledbooltrue
certController.priorityClassNamestring""Pod priority class name.
certController.rbac.createbooltrueSpecifies whether role and rolebinding resources should be created.
certController.readinessProbe.addressstring""Address for readiness probe
certController.readinessProbe.portint8081ReadinessProbe port for kubelet
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.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.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.enabledbooltrueIf webhook is set to false this also needs to be set to false otherwise the kubeapi will be hammered because the conversion is looking for a webhook endpoint.
crds.createClusterExternalSecretbooltrueIf true, create CRDs for Cluster External Secret.
crds.createClusterGeneratorbooltrueIf true, create CRDs for Cluster Generator.
crds.createClusterPushSecretbooltrueIf true, create CRDs for Cluster Push Secret.
crds.createClusterSecretStorebooltrueIf true, create CRDs for Cluster Secret Store.
crds.createPushSecretbooltrueIf true, create CRDs for Push Secret.
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
extendedMetricLabelsboolfalseIf true external secrets will use recommended kubernetes annotations as prometheus metric labels.
extraArgsobject{}
extraContainerslist[]
extraEnvlist[]
extraObjectslist[]
extraVolumeMountslist[]
extraVolumeslist[]
fullnameOverridestring""
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.nodeSelectorobject{}
global.tolerationslist[]
global.topologySpreadConstraintslist[]
hostNetworkboolfalseRun the controller on the host network
image.flavourstring""The flavour of tag you want to use There are different image flavours available, like distroless and ubi. Please see GitHub release notes for image tags for these flavors. By default, the distroless image is used.
image.pullPolicystring"IfNotPresent"
image.repositorystring"oci.external-secrets.io/external-secrets/external-secrets"
image.tagstring""The image tag to use. The default is the chart appVersion.
imagePullSecretslist[]
installCRDsbooltrueIf set, install and upgrade CRDs through helm chart.
leaderElectboolfalseIf true, external-secrets will perform leader election between instances to ensure no more than one instance of external-secrets operates at a time.
logobject{"level":"info","timeEncoding":"epoch"}Specifices Log Params to the External Secrets Operator
metrics.listen.portint8080
metrics.service.annotationsobject{}Additional service annotations
metrics.service.enabledboolfalseEnable if you use another monitoring tool than Prometheus to scrape the metrics
metrics.service.portint8080Metrics service port to scrape
nameOverridestring""
namespaceOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}Annotations to add to Pod
podDisruptionBudgetobject{"enabled":false,"minAvailable":1}Pod disruption budget - for more details see https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
podLabelsobject{}
podSecurityContext.enabledbooltrue
podSpecExtraobject{}Any extra pod spec on the deployment
priorityClassNamestring""Pod priority class name.
processClusterExternalSecretbooltrueif true, the operator will process cluster external secret. Else, it will ignore them.
processClusterPushSecretbooltrueif true, the operator will process cluster push secret. Else, it will ignore them.
processClusterStorebooltrueif true, the operator will process cluster store. Else, it will ignore them.
processPushSecretbooltrueif true, the operator will process push secret. Else, it will ignore them.
rbac.createbooltrueSpecifies whether role and rolebinding resources should be created.
rbac.servicebindings.createbooltrueSpecifies whether a clusterrole to give servicebindings read access should be created.
replicaCountint1
resourcesobject{}
revisionHistoryLimitint10Specifies the amount of historic ReplicaSets k8s should keep (see https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy)
scopedNamespacestring""If set external secrets are only reconciled in the provided namespace
scopedRBACboolfalseMust be used with scopedNamespace. If true, create scoped RBAC roles under the scoped namespace and implicitly disable cluster stores and cluster external secrets
securityContext.allowPrivilegeEscalationboolfalse
securityContext.capabilities.drop[0]string"ALL"
securityContext.enabledbooltrue
securityContext.readOnlyRootFilesystembooltrue
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint1000
securityContext.seccompProfile.typestring"RuntimeDefault"
service.ipFamilieslist[]Sets the families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6.
service.ipFamilyPolicystring""Set the ip family policy to configure dual-stack see Configure dual-stack
serviceAccount.annotationsobject{}Annotations to add to the service account.
serviceAccount.automountbooltrueAutomounts the service account token in all containers of the pod
serviceAccount.createbooltrueSpecifies whether a service account should be created.
serviceAccount.extraLabelsobject{}Extra Labels to add to the service account.
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.
serviceMonitor.additionalLabelsobject{}Additional labels
serviceMonitor.enabledboolfalseSpecifies whether to create a ServiceMonitor resource for collecting Prometheus metrics
serviceMonitor.honorLabelsboolfalseLet prometheus add an exported_ prefix to conflicting labels
serviceMonitor.intervalstring"30s"Interval to scrape metrics
serviceMonitor.metricRelabelingslist[]Metric relabel configs to apply to samples before ingestion. Metric Relabeling
serviceMonitor.namespacestring""namespace where you want to install ServiceMonitors
serviceMonitor.relabelingslist[]Relabel configs to apply to samples before ingestion. Relabeling
serviceMonitor.scrapeTimeoutstring"25s"Timeout if metrics can't be retrieved in given time interval
tolerationslist[]
topologySpreadConstraintslist[]
webhook.affinityobject{}
webhook.certCheckIntervalstring"5m"Specifices the time to check if the cert is valid
webhook.certDirstring"/tmp/certs"
webhook.certManager.addInjectorAnnotationsbooltrueAutomatically add the cert-manager.io/inject-ca-from annotation to the webhooks and CRDs. As long as you have the cert-manager CA Injector enabled, this will automatically setup your webhook's CA to the one used by cert-manager. See https://cert-manager.io/docs/concepts/ca-injector
webhook.certManager.cert.annotationsobject{}Add extra annotations to the Certificate resource.
webhook.certManager.cert.createbooltrueCreate a certificate resource within this chart. See https://cert-manager.io/docs/usage/certificate/
w

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