autojoin & debug
This commit is contained in:
parent
806b86b233
commit
f110b83a23
1 changed files with 11 additions and 3 deletions
|
@ -49,6 +49,13 @@ spec:
|
||||||
# path: /v1/sys/health?standbyok=true
|
# path: /v1/sys/health?standbyok=true
|
||||||
# Port number on which readinessProbe will be checked.
|
# Port number on which readinessProbe will be checked.
|
||||||
port: *port
|
port: *port
|
||||||
|
extraEnvironmentVars:
|
||||||
|
- name: VAULT_ADDR
|
||||||
|
value: "http://127.0.0.1:8200"
|
||||||
|
- name: VAULT_API_ADDR
|
||||||
|
value: "http://$(POD_IP):8200"
|
||||||
|
- name: VAULT_CLUSTER_ADDR
|
||||||
|
value: "http://$(POD_IP):8201"
|
||||||
# These are defaults but explicitly set here for clarity.
|
# These are defaults but explicitly set here for clarity.
|
||||||
dataStorage:
|
dataStorage:
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
|
@ -88,7 +95,8 @@ spec:
|
||||||
storage "raft" {
|
storage "raft" {
|
||||||
path = "/vault/data"
|
path = "/vault/data"
|
||||||
retry_join {
|
retry_join {
|
||||||
leader_api_addr = "http://vault-5.vault-internal:8200"
|
auto_join = "provider=k8s label_selector=\"app.kubernetes.io/name=vault,component=server\" namespace=\"security\""
|
||||||
|
auto_join_scheme = "http"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue