forked from billimek/k8s-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vault.yaml
68 lines (68 loc) · 1.66 KB
/
vault.yaml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: vault
namespace: kube-system
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://helm.releases.hashicorp.com
chart: vault
version: 0.19.0
sourceRef:
kind: HelmRepository
name: hashicorp-charts
namespace: flux-system
interval: 5m
values:
server:
dataStorage:
enabled: true
storageClass: "rook-ceph-block"
extraEnvironmentVars:
GOOGLE_APPLICATION_CREDENTIALS: /vault/userconfig/kms-vault/account.json
extraVolumes:
- type: secret
name: kms-vault
path: /vault/userconfig
tolerations: |
- key: "arm"
operator: "Exists"
annotations:
backup.velero.io/backup-volumes: data
resources:
requests:
memory: 256Mi
cpu: 250m
limits:
memory: 256Mi
standalone:
enabled: false
ha:
enabled: true
replicas: 3
raft:
enabled: true
setNodeId: true
config: |
ui = true
listener "tcp" {
tls_disable = 1
address = "[::]:8200"
cluster_address = "[::]:8201"
}
storage "raft" {
path = "/vault/data"
}
seal "gcpckms" {
project = "kms-vault"
region = "global"
key_ring = "vault-unseal"
crypto_key = "vault-key"
}
service_registration "kubernetes" {}
ui:
enabled: true
serviceType: "ClusterIP"