From 159d19840726a23e71bb2f851cee1c4abd641753 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Wed, 11 Sep 2024 00:43:51 -0500 Subject: [PATCH] re-enable probes --- kubernetes/apps/security/vault/app/helmrelease.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/kubernetes/apps/security/vault/app/helmrelease.yaml b/kubernetes/apps/security/vault/app/helmrelease.yaml index 0358555b..7bc6a634 100644 --- a/kubernetes/apps/security/vault/app/helmrelease.yaml +++ b/kubernetes/apps/security/vault/app/helmrelease.yaml @@ -44,7 +44,12 @@ spec: targetPort: *port # off until it's online for the first time readinessProbe: - enabled: false + enabled: true + path: "/v1/sys/health?standbyok=true&sealedcode=204&uninitcode=204" + livenessProbe: + enabled: true + path: "/v1/sys/health?standbyok=true" + initialDelaySeconds: 60 # If you need to use a http path instead of the default exec # path: /v1/sys/health?standbyok=true # Port number on which readinessProbe will be checked. @@ -82,7 +87,6 @@ spec: # maxUnavailable will default to (n/2)-1 where n is the number of replicas # so if you have 6 replicas, maxUnavailable will be 2 unless you set it specifically. replicas: 3 - # clusterAddr: "https://vault-active.security.svc.cluster.local:8201" config: "" raft: enabled: true