vault-operator
by alekc
Helm chartv1.26.2App v1.24.1Verified publisher
Kubernetes operator for Hashicorp Vault
About this chart
vault-operator
Kubernetes operator for Hashicorp Vault
Homepage: https://bank-vaults.dev
TL;DR;
helm install --generate-name --wait oci://ghcr.io/bank-vaults/helm-charts/vault-operator
Values
The following table lists the configurable parameters of the Helm chart.
| Parameter | Type | Default | Description |
|---|---|---|---|
replicaCount | int | 1 | Number of replicas (pods) to launch. |
pdb.create | bool | true | Create pod disruption budget if replicaCount > 1. |
pdb.minAvailable | int | 1 | Min available for PDB. |
image.repository | string | "ghcr.io/bank-vaults/vault-operator" | Name of the image repository to pull the container image from. |
image.pullPolicy | string | "IfNotPresent" | Image pull policy for updating already existing images on a node. |
image.tag | string | "" | Image tag override for the default value (chart appVersion). |
image.imagePullSecrets | list | [] | Reference to one or more secrets to be used when pulling images (from private registries). (global.imagePullSecrets is also supported) |
image.bankVaultsRepository | string | "" | Bank-Vaults image repository Deprecated: use bankVaults.image.repository instead. |
image.bankVaultsTag | string | "" | Bank-Vaults image tag Deprecated: use bankVaults.image.tag instead. |
bankVaults.image.repository | string | "ghcr.io/bank-vaults/bank-vaults" | Bank-Vaults image repository. |
bankVaults.image.tag | string | "v1.31.2" | Bank-Vaults image tag (pinned to supported Bank-Vaults version). |
nameOverride | string | "" | A name in place of the chart name for app: labels. |
fullnameOverride | string | "" | A name to substitute for the full names of resources. |
watchNamespace | string | "" | The namespace where the operator watches for vault CR objects. If not defined all namespaces are watched. |
syncPeriod | string | "1m" | |
crdAnnotations | object | {} | Annotations to be added to CRDs. |
labels | object | {} | Labels to be added to deployments. |
podLabels | object | {} | Labels to be added to pods. |
podAnnotations | object | {} | Annotations to be added to pods. |
serviceAccount.create | bool | true | Enable service account creation. |
serviceAccount.annotations | object | {} | Annotations to be added to the service account. |
serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template. |
service.annotations | object | {} | Annotations to be added to the service. |
service.type | string | "ClusterIP" | Kubernetes service type. |
service.name | string | "" | The name of the service to use. If not set, a name is generated using the fullname template. |
service.externalPort | int | 80 | |
service.internalPort | int | 8080 | |
resources | object | {} | Container resource requests and limits. See the API reference for details. |
nodeSelector | object | {} | Node selector configuration. |
tolerations | list | [] | Tolerations for node taints. See the API reference for details. |
affinity | object | {} | Affinity configuration. See the API reference for details. |
priorityClassName | string | "" | Specify a priority class name to set pod priority. |
podSecurityContext | object | {} | Pod security context. See the API reference for details. |
securityContext | object | {} | Container security context. See the API reference for details. |
terminationGracePeriodSeconds | int | 10 | |
livenessProbe.initialDelaySeconds | int | 60 | |
livenessProbe.periodSeconds | int | 10 | |
livenessProbe.successThreshold | int | 1 | |
livenessProbe.timeoutSeconds | int | 1 | |
readinessProbe.periodSeconds | int | 10 | |
readinessProbe.successThreshold | int | 1 | |
readinessProbe.timeoutSeconds | int | 1 | |
psp.enabled | bool | false | |
psp.vaultSA | string | "vault" | |
monitoring.serviceMonitor.enabled | bool | false | Enable Prometheus ServiceMonitor. See the documentation and the API reference for details. |
monitoring.serviceMonitor.additionalLabels | object | {} | |
monitoring.serviceMonitor.metricRelabelings | list | [] | |
monitoring.serviceMonitor.relabelings | list | [] |
Specify each parameter using the --set key=value[,key=value] argument to helm install.
Deploy vault-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has vault-operator 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartvault-operator is pinned at v1.26.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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