kubevault-operator
KubeVault Operator by AppsCode - HashiCorp Vault operator for Kubernetes
About this chart
KubeVault Operator
KubeVault Operator by AppsCode - HashiCorp Vault operator for Kubernetes
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/kubevault-operator --version=v0.27.0
$ helm upgrade -i kubevault-operator appscode/kubevault-operator -n kubevault --create-namespace --version=v0.27.0
Introduction
This chart deploys a HashiCorp Vault operator on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.16+
Installing the Chart
To install/upgrade the chart with the release name kubevault-operator:
$ helm upgrade -i kubevault-operator appscode/kubevault-operator -n kubevault --create-namespace --version=v0.27.0
The command deploys a HashiCorp Vault operator on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall the kubevault-operator:
$ helm uninstall kubevault-operator -n kubevault
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the kubevault-operator chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| nameOverride | Overrides name template | "" |
| fullnameOverride | Overrides fullname template | "" |
| replicaCount | Number of KubeVault operator replicas to create (only 1 is supported) | 1 |
| license | License for the product. Get a license by following the steps from here. Example: helm install appscode/kubevault-operator \ --set-file license=/path/to/license/file or helm install appscode/kubevault-operator \ --set license=<license file content> | "" |
| licenseSecretName | Name of Secret with the license as key.txt key | "" |
| registryFQDN | Docker registry fqdn used to pull docker images Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io |
| operator.registry | Docker registry used to pull KubeVault operator image | kubevault |
| operator.repository | KubeVault operator container image | vault-operator |
| operator.tag | KubeVault operator container image tag | "" |
| operator.securityContext | Security options this container should run with | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}} |
| operator.resources | Compute Resources required by the operator container | {} |
| registerCRDs | If true, the operator applies its CustomResourceDefinitions at startup. Defaults to false because the kubevault-crds subchart (or its standalone equivalent) installs the CRDs; only enable this for single-chart installs where kubevault-crds is absent. | false |
| featureGates.Druid | false | |
| featureGates.Elasticsearch | false | |
| featureGates.Etcd | false | |
| featureGates.HanaDB | false | |
| featureGates.Ignite |
Deploy kubevault-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubevault-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 chartkubevault-operator is pinned at v0.27.0 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