vault-operator

by AppsCode Inc.

Helm chartv0.3.0App v0.3.0Verified publisher

Vault Operator by AppsCode - HashiCorp Vault Operator for Kubernetes

About this chart

Vault Operator

Vault Operator by AppsCode - HashiCorp Vault Operator for Kubernetes

TL;DR;

$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm install vault-operator appscode/vault-operator -n kube-system

Introduction

This chart deploys a HashiCorp Vault operator on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.11+

Installing the Chart

To install the chart with the release name vault-operator:

$ helm install vault-operator appscode/vault-operator -n kube-system

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/delete the vault-operator:

$ helm delete vault-operator -n kube-system

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 vault-operator chart and their default values.

ParameterDescriptionDefault
nameOverrideOverrides name template""
fullnameOverrideOverrides fullname template""
replicaCountNumber of Vault operator replicas to create (only 1 is supported)1
operator.registryDocker registry used to pull Vault operator imagekubevault
operator.repositoryVault operator container imagevault-operator
operator.tagVault operator container image tagv0.3.0
operator.resourcesCompute Resources required by the operator container{"requests":{"cpu":"100m"}}
operator.securityContextSecurity options the operator container should run with{}
cleaner.registryDocker registry used to pull Webhook cleaner imageappscode
cleaner.repositoryWebhook cleaner container imagekubectl
cleaner.tagWebhook cleaner container image tagv1.16
imagePullSecretsSpecify an array of imagePullSecrets. Secrets must be manually created in the namespace. Example: helm template charts/vault-operator \ --set imagePullSecrets[0].name=sec0 \ --set imagePullSecrets[1].name=sec1[]
imagePullPolicyContainer image pull policyIfNotPresent
criticalAddonIf true, installs Vault operator as critical addonfalse
logLevelLog level for operator3
annotationsAnnotations applied to operator deployment{}
podAnnotationsAnnotations passed to operator pod(s).{}
nodeSelectorNode labels for pod assignment{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/os":"linux"}
tolerationsTolerations for pod assignment[]
affinityAffinity rules for pod assignment{}
podSecurityContextSecurity options the operator pod should run with.{"fsGroup":65535}
serviceAccount.createSpecifies whether a service account should be createdtrue
serviceAccount.annotationsAnnotations to add to the service account{}
serviceAccount.nameThe name of the service account to use. If not set and create is true, a name is generated using the fullname template""
apiserver.groupPriorityMinimumThe minimum priority the webhook api group should have at least. Please see https://github.com/kubernetes/kube-aggregator/blob/release-1.9/pkg/apis/apiregistration/v1beta1/types.go#L58-L64 for more information on proper values of this field.10000
apiserver.versionPriorityThe ordering of the webhook api inside of the gro

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartvault-operator is pinned at v0.3.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