Helm chart to install OpenBao and other associated components.
Find a file
David Moreno García 0f36ee3a5b
Change config specification (#213)
* Change config specification

As it is right now, the specification of the config is done through an
string. When using storage backends like PostgreSQL, the password for the
database has to be included in the config variable of the values file.

This change allows to specify the configuration through a map, making
the chart GitOps friendly. Now, sensitive values can be stored in a
different values file or passed on deployment time with --set.

To have a very generic specification:
- I've assumed that the combination stanza (eg. storage) name (eg. file)
is unique.
- Quoted values for all stanza parameters. I tested a generated
configuration in a vault docker image and it seems to work just fine.

* Change config format to json

* Add conditional formatting

* Add config for raft mode
2020-04-27 10:45:56 -04:00
.circleci build: add circleci config for executing bats unit tests 2019-09-26 20:22:44 -07:00
templates Change config specification (#213) 2020-04-27 10:45:56 -04:00
test Fix ha standby and active service annotations (#268) 2020-04-21 08:19:17 -07:00
.gitignore Fix audit storage mount in HA mode (#79) 2019-10-10 10:03:44 -04:00
.helmignore Ignore bin dirs 2018-08-20 17:30:52 -07:00
CHANGELOG.md changelog++ 2020-04-21 08:20:41 -07:00
Chart.yaml Update to 0.5.0 (#253) 2020-04-09 09:51:37 -04:00
CONTRIBUTING.md Helm 3 support (#195) 2020-02-06 08:44:38 -08:00
LICENSE.md Add license 2018-08-17 22:09:05 -07:00
Makefile test: add test targets for running bats via docker to Makefile 2019-09-26 20:00:57 -07:00
README.md docs(REAMDE): Fix Vault K8s dead link (#256) 2020-04-10 10:43:14 -04:00
values.yaml Update to 0.5.0 (#253) 2020-04-09 09:51:37 -04:00

Vault Helm Chart

This repository contains the official HashiCorp Helm chart for installing and configuring Vault on Kubernetes. This chart supports multiple use cases of Vault on Kubernetes depending on the values provided.

For full documentation on this Helm chart along with all the ways you can use Vault with Kubernetes, please see the Vault and Kubernetes documentation.

Prerequisites

To use the charts here, Helm must be installed in your Kubernetes cluster. Setting up Kubernetes and Helm and is outside the scope of this README. Please refer to the Kubernetes and Helm documentation.

The versions required are:

  • Helm 3.0+ - This is the earliest version of Helm tested. It is possible it works with earlier versions but this chart is untested for those versions.
  • Kubernetes 1.9+ - This is the earliest version of Kubernetes tested. It is possible that this chart works with earlier versions but it is untested. Other versions verified are Kubernetes 1.10, 1.11.

Usage

For now, we do not host a chart repository. To use the charts, you must download this repository and unpack it into a directory. Either download a tagged release or use git checkout to a tagged release. Assuming this repository was unpacked into the directory vault-helm, the chart can then be installed directly:

helm install ./vault-helm

Please see the many options supported in the values.yaml file. These are also fully documented directly on the Vault website.