openbao

by joaquinito2051

Helm chartv0.30.8App v2.7.3

Official OpenBao Chart

About this chart

openbao

Official OpenBao Chart

Homepage: https://github.com/openbao/openbao-helm

Maintainers

NameEmailUrl
OpenBao[email protected]https://openbao.org

Source Code

Requirements

Kubernetes: >= 1.30.0-0

Values

KeyTypeDefaultDescription
csi.agent.enabledbooltrue
csi.agent.extraArgslist[]
csi.agent.image.pullPolicystring"IfNotPresent"image pull policy to use for agent image. if tag is "latest", set to "Always"
csi.agent.image.registrystring"quay.io"image registry to use for agent image
csi.agent.image.repositorystring"openbao/openbao"image repo to use for agent image
csi.agent.image.tagstring""image tag to use for agent image - defaults to chart appVersion
csi.agent.logFormatstring"standard"
csi.agent.logLevelstring"info"
csi.agent.resourcesobject{}
csi.daemonSet.annotationsobject{}
csi.daemonSet.endpointstring"/provider/openbao.sock"
csi.daemonSet.extraLabelsobject{}
csi.daemonSet.kubeletRootDirstring"/var/lib/kubelet"
csi.daemonSet.providersDirstring"/etc/kubernetes/secrets-store-csi-providers"
csi.daemonSet.securityContext.containerobject{}
csi.daemonSet.securityContext.podobject{}
csi.daemonSet.updateStrategy.maxUnavailablestring""
csi.daemonSet.updateStrategy.typestring"RollingUpdate"
csi.debugboolfalse
csi.enabledboolfalseTrue if you want to install an openbao-csi-provider daemonset. Requires installing the secrets-store-csi-driver separately, see: https://secrets-store-csi-driver.sigs.k8s.io/getting-started/installation With the driver and provider installed, you can mount OpenBao secrets into volumes similar to the OpenBao Agent injector, and you can also sync those secrets into Kubernetes secrets.
csi.extraArgslist[]
csi.hmacSecretNamestring""
csi.image.pullPolicystring"IfNotPresent"image pull policy to use for csi image. if tag is "latest", set to "Always"
csi.image.registrystring"quay.io"image registry to use for csi image
csi.image.repositorystring"openbao/openbao-csi-provider"image repo to use for csi image
csi.image.tagstring"2.0.3"image tag to use for csi image
csi.livenessProbe.failureThresholdint2
csi.livenessProbe.initialDelaySecondsint5
csi.livenessProbe.periodSecondsint5
csi.livenessProbe.successThresholdint1
csi.livenessProbe.timeoutSecondsint3
csi.pod.affinityobject{}
csi.pod.annotationsobject{}
csi.pod.extraLabelsobject{}
csi.pod.nodeSelectorobject{}
csi.pod.tolerationslist[]
csi.priorityClassNamestring""
csi.readinessProbe.failureThresholdint2
csi.readinessProbe.initialDelaySecondsint5
csi.readinessProbe.periodSecondsint5
csi.readinessProbe.successThresholdint1
csi.readinessProbe.timeoutSecondsint3
csi.resourcesobject{}
csi.serviceAccount.annotationsobject{}
csi.serviceAccount.extraLabelsobject{}
csi.volumeMountslist[]volumeMounts is a list of volumeMounts for the main server container. These are rendered via toYaml rather than pre-processed like the extraVolumes value. The purpose is to make it easy to share volumes between containers.
csi.volumeslist[]volumes is a list of volumes made available to all containers. These are rendered via toYaml rather than pre-processed like the extraVolumes value. The purpose is to make it easy to share volumes between containers.
extraObjectslist[]
global.enabledbooltrueenabled is the master enabled switch. Setting this to true or false will enable or disable all the components within this chart by default.
global.externalBaoAddrstring""External openbao server address for the injector and CSI provider to use. Setting this will disable deployment of an OpenBao server.
global.externalVaultAddrstring""Deprecated: Please use global.externalBaoAddr instead.
global.imagePullSecretslist[]Image pull secret to use for registry authentication. Alternatively, the value may be specified as an array of strings.
global.namespacestring""The namespace to deploy to. Defaults to the helm installation namespace.
global.openshiftboolfalseIf deploying to OpenShift
global.serverTelemetry.prometheusOperatorboolfalseEnable integration with the Prometheus Operator See the top level serverTelemetry section below before enabling this feature.
global.tlsDisablebooltrueTLS for end-to-end encrypted transport
injector.affinitystring"podAntiAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - labelSelector:\n matchLabels:\n app.kubernetes.io/name: {{ template \"openbao.name\" . }}-agent-injector\n app.kubernetes.io/instance: \"{{ .Release.Name }}\"\n component: webhook\n topologyKey: kubernetes.io/hostname\n"
injector.agentDefaults.cpuLimitstring"500m"
injector.agentDefaults.cpuRequeststring"250m"
injector.agentDefaults.memLimitstring"128Mi"
injector.agentDefaults.memRequeststring"64Mi"
injector.agentDefaults.templatestring"map"
injector.agentDefaults.templateConfig.exitOnRetryFailurebooltrue
injector.agentDefaults.templateConfig.staticSecretRenderIntervalstring""
injector.agentImageobject{"pullPolicy":"IfNotPresent","registry":"quay.io","repository":"openbao/openbao","tag":""}agentImage sets the repo and tag of the OpenBao image to use for the OpenBao Agent containers. This should be set to the official OpenBao image. OpenBao 1.3.1+ is required.
injector.agentImage.pullPolicystring"IfNotPresent"image pull policy to use for agent image. if tag is "latest", set to "Always"
injector.agentImage.registrystring"quay.io"image registry to use for agent image
injector.agentImage.repositorystring"openbao/openbao"image repo to use for agent image
injector.agentImage.tagstring""image tag to use for agent image - defaults to chart appVersion
injector.annotationsobject{}
injector.authPathstring"auth/kubernetes"
injector.certs.caBundlestring""
injector.certs.certNamestring"tls.crt"
injector.certs.keyNamestring"tls.key"
injector.certs.secretNamestringnil
injector.enabledstring"-"True if you want to enable openbao agent injection. @default: global.enabled
injector.externalBaoAddrstring""External openbao server address for the injector to use.
injector.externalVaultAddrstring""Deprecated: Please use injector.externalBaoAddr instead.
injector.extraEnvironmentVarsobject{}
injector.extraLabelsobject{}
injector.failurePolicystring"Ignore"
injector.hostNetworkboolfalse
injector.image.pullPolicystring"IfNotPresent"image pull policy to use for k8s image. if tag is "latest", set to "Always"
injector.image.registrystring"docker.io"image registry to use for k8s image
injector.image.repositorystring"hashicorp/vault-k8s"image repo to use for k8s image
injector.image.tagstring"1.7.6"image tag to use for k8s image
injector.leaderElectorobject{"enabled":true}If multiple replicas are specified, by default a leader will be determined so that only one injector attempts to create TLS certificates.
injector.livenessProbe.failureThresholdint2When a probe fails, Kubernetes will try failureThreshold times before giving up
injector.livenessProbe.initialDelaySecondsint5Number of seconds after the container has started before probe initiates
injector.livenessProbe.periodSecondsint2How often (in seconds) to perform the probe
injector.livenessProbe.successThresholdint1Minimum consecutive successes for the probe to be considered successful after having failed
injector.livenessProbe.timeoutSecondsint5Number of seconds after which the probe times out.
injector.logFormatstring"standard"Configures the log format of the injector. Supported log formats: "standard", "json".
injector.logLevelstring"info"Configures the log verbosity of the injector. Supported log levels include: trace, debug, info, warn, error
injector.metricsobject{"enabled":false}If true, will enable a node exporter metrics endpoint at /metrics.
injector.namespaceSelectorobject{}
injector.nodeSelectorobject{}
injector.objectSelectorobject{}
injector.podDisruptionBudgetobject{}
injector.portint8080Configures the port the injector should listen on
injector.priorityClassNamestring""
injector.readinessProbe.failureThresholdint2When a probe fails, Kubernetes will try failureThreshold times before giving up
injector.readinessProbe.initialDelaySecondsint5Number of seconds after the container has started before probe initiates
injector.readinessProbe.periodSecondsint2How often (in seconds) to perform the probe
injector.readinessProbe.successThresholdint1Minimum consecutive successes for the probe to be considered successful after having failed
injector.readinessProbe.timeoutSecondsint5Number of seconds after which the probe times out.
injector.replicasint1
injector.resourcesobject{}
injector.revokeOnShutdownboolfalse
injector.securityContext.containerobject{}
injector.securityContext.podobject{}
injector.service.annotationsobject{}
injector.service.extraLabelsobject{}
injector.service.trafficDistributionstring""
injector.serviceAccount.annotationsobject{}
injector.startupProbe.failureThresholdint12When a probe fails, Kubernetes will try failureThreshold times before giving up
injector.startupProbe.initialDelaySecondsint5Number of seconds after the container has started before probe initiates
injector.startupProbe.periodSecondsint5How often (in seconds) to perform the probe
injector.startupProbe.successThresholdint1Minimum consecutive successes for the probe to be considered successful after having failed
injector.startupProbe.timeoutSecondsint5Number of seconds after which the probe times out.
injector.strategyobject{}
injector.tolerationslist[]
injector.topologySpreadConstraintslist[]
injector.webhook.annotationsobject{}
injector.webhook.failurePolicystring"Ignore"
injector.webhook.matchConditionslist[]
injector.webhook.matchPolicystring"Exact"
injector.webhook.namespaceSelectorobject{}
injector.webhook.objectSelectorstring"matchExpressions:\n- key: app.kubernetes.io/name\n operator: NotIn\n values:\n - {{ template \"openbao.name\" . }}-agent-injector\n"
injector.webhook.timeoutSecondsint30
injector.webhookAnnotationsobject{}
server.affinitystring"podAntiAffinity:\n requiredDuringSchedulingIgnoredDuringExecution:\n - labelSelector:\n matchLabels:\n app.kubernetes.io/name: {{ template \"openbao.name\" . }}\n app.kubernetes.io/instance: \"{{ .Release.Name }}\"\n component: server\n topologyKey: kubernetes.io/hostname\n"
server.annotationsobject{}
server.auditStorage.accessModestring"ReadWriteOnce"
server.auditStorage.annotationsobject{}
server.auditStorage.enabledboolfalse
server.auditStorage.labelsobject{}
server.auditStorage.mountPathstring"/openbao/audit"
server.auditStorage.sizestring"10Gi"
server.auditStorage.storageClassstringnil
server.authDelegator.enabledbooltrue
server.configAnnotationboolfalse
server.dataStorage.accessModestring"ReadWriteOnce"
server.dataStorage.annotationsobject{}
server.dataStorage.enabledbooltrue
server.dataStorage.labelsobject{}
server.dataStorage.mountPathstring"/openbao/data"
server.dataStorage.sizestring"10Gi"
server.dataStorage.storageClassstringnil
server.dev.devRootTokenstring"root"
server.dev.enabledboolfalse
server.enabledstring"-"
server.extraArgsstring""extraArgs is a string containing additional OpenBao server arguments.
server.extraContainersstringnil
server.extraEnvironmentVarsobject{}
server.extraInitContainerslist[]extraInitContainers is a list of init containers. Specified as a YAML list. This is useful if you need to run a script to provision TLS certificates or write out co

Deploy openbao with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has openbao 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 chartopenbao is pinned at v0.30.8 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