-
Notifications
You must be signed in to change notification settings - Fork 1
/
values-vault.yaml
79 lines (72 loc) · 2.2 KB
/
values-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
69
70
71
72
73
74
75
76
77
78
79
global:
namespace: "vault"
server:
# Ingress Configuration
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: "letsencrypt" # If you've setuped cert manager
cert-manager.io/common-name: "vault.<yourorganization>.com" # If you've setuped cert manager
ingressClassName: "nginx"
activeService: true
hosts:
- host: vault.yourorganization.com
paths: []
tls:
- secretName: <yourorganizatio>n-tls
hosts:
- vault.<yourorganization>.com
# Extra labels to attach to the server pods
# This should be a YAML map of the labels to apply to the server pods
extraLabels:
azure.workload.identity/use: "true"
ha:
enabled: true
replicas: 3
raft:
enabled: true
setNodeId: true
config: |
ui = true
listener "tcp" {
address = "0.0.0.0:8200"
cluster_address = "0.0.0.0:8201"
tls_disable = 1
}
storage "raft" {
path = "/vault/data"
retry_join {
leader_api_addr = "http://vault-0.vault-internal:8200"
}
retry_join {
leader_api_addr = "http://vault-1.vault-internal:8200"
}
retry_join {
leader_api_addr = "http://vault-2.vault-internal:8200"
}
}
seal "azurekeyvault" {
vault_name = "<YourVaultName>"
key_name = "vault-unseal-key"
client_id = "bae7dae8-XXXXX-4859-XXXX-8b8f25e86dc1"
}
service_registration "kubernetes" {}
dataStorage:
enabled: true
# Size of the PVC created
size: 10Gi
# Definition of the serviceAccount used to run Vault.
# These options are also used when using an external Vault server to validate
# Kubernetes tokens.
serviceAccount:
create: true
name: "vault"
createSecret: false
# Extra annotations for the serviceAccount definition.
annotations:
azure.workload.identity/client-id: "bae7dae8-XXXX-4859-XXXX-8b8f25e86dc1"
# This should be a YAML map of the labels to apply to the serviceAccount
extraLabels:
azure.workload.identity/use: "true"
serviceDiscovery:
enabled: true