vaultingkube

by joaquinito2051

Helm chartv0.1.2App 0.1.1

vaultingkube takes config maps and secrets stored inside Hashicorp Vault and syncs them to your Kubernetes cluster.

About this chart

vaultingkube

vaultingkube takes config maps and secrets stored inside Hashicorp Vault and syncs them to your Kubernetes cluster.

TL;DR;

$ helm install <helm-repo>/vaultingkube

$ helm install incubator/vaultingkube

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release <helm-repo>/vaultingkube

$ helm install --name my-release incubator/vaultingkube

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes nearly all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the vaultingkube chart and their default values.

ParameterDescriptionDefault
replicaCountNumber of replicas of the vaultingkube pod1
images.repositoryvaultingkube image repositorysunshinekitty/vaultingkube
images.tagvaultingkube image tagv0.1.0
images.pullPolicyvaultingkube image pull policyAlways if imageTag is latest, else IfNotPresent
vaultAddressAddress of the Vault that vaultingkube will queryNone. You must supply one.
vaultTokenToken used by vaultingkube to query VaultNone. You must supply one.
deleteOldEnable deletion of K8s managed secrets that were deleted from Vault"true"
syncPeriodFrequency at which vaultingkube will check Vault new or removed secrets"60"
vaultRootMountPathSecret path in Vault that vaultingkube will sync fromNone. You must supply one
nodeSelectorNode labels for pod assignment{}
tolerationsList of node taints to tolerate[]
affinityAffinity settings for pod assignment{}
rbac.createIf true, create and use RBAC resourcestrue
serviceAccount.createIf true, create a new service accounttrue
serviceAccount.nameService account to be used. If not set and serviceAccount.create is true, a name is generated using the fullname template``

Deploy vaultingkube with OpenTenant

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