aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/vault/README.md
blob: 596586203957776033ed117652c7bc30a43e301f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Vault

We deploy an instance of [HashiCorp
Vault](https://developer.hashicorp.com/vault) to store various types of secret
data used on the cluster.

We use it to issue X509 certificates for mutual TLS setups.

As well as this, the Helm chart used allows for secret injection based on the
annotations present in pods deployed to the cluster. See more
[here](https://developer.hashicorp.com/vault/docs/platform/k8s/injector)

# Setup

1. Add the Helm repository for HashiCorp:

``` sh
$ helm repo add hashicorp https://helm.releases.hashicorp.com
"hashicorp" has been added to your repositories
```

2. Install Vault to the `vault` namespace using the following command:

``` sh
$ helm install --create-namespace vault hashicorp/vault --namespace vault
...
```

3. Voila, Vault is deployed in the `vault` namespace.