From 2acd0550585f23d618ddb04863303ad144adf661 Mon Sep 17 00:00:00 2001 From: Armin Buerkle Date: Thu, 21 Nov 2019 10:20:19 +0100 Subject: [PATCH] Fix readiness probe for vault v1.3.0 Since https://github.com/hashicorp/vault/issues/7323 vault respects the vaules passed to the healthcheck for `standbyok` and `perfstandbyok`. When you spin up a v1.3.0 vault cluster of more than one node, the first node will come up normally, but the readiness probe will fail on the second. Pump chart version Signed-off-by: Armin Buerkle --- vault/Chart.yaml | 2 +- vault/templates/statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vault/Chart.yaml b/vault/Chart.yaml index 0a66f2f..b29332f 100644 --- a/vault/Chart.yaml +++ b/vault/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: A Helm chart for Vault, a tool for managing secrets name: vault -version: 0.9.1 +version: 0.9.2 appVersion: 1.2.3 home: https://www.vaultproject.io/ icon: https://www.vaultproject.io/assets/images/mega-nav/logo-vault-0f83e3d2.svg diff --git a/vault/templates/statefulset.yaml b/vault/templates/statefulset.yaml index e6568df..b86943d 100644 --- a/vault/templates/statefulset.yaml +++ b/vault/templates/statefulset.yaml @@ -117,7 +117,7 @@ spec: {{ else }} scheme: HTTPS {{ end }} - path: /v1/sys/health?standbyok&perfstandbyok + path: /v1/sys/health?standbyok=true&perfstandbyok=true port: vault securityContext: readOnlyRootFilesystem: true