From 363848a8ded1f9bfd1c633557d5f8422279aa599 Mon Sep 17 00:00:00 2001 From: justinguidry11 <justinguidry@seed-innovations.com> Date: Wed, 26 Feb 2025 15:32:14 -0600 Subject: [PATCH 1/2] Vault teasting --- .../bigbang/autoUnsealAndInit/configmap-for-vault-init.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/templates/bigbang/autoUnsealAndInit/configmap-for-vault-init.yaml b/chart/templates/bigbang/autoUnsealAndInit/configmap-for-vault-init.yaml index 8f972d5f..4c61e7f7 100644 --- a/chart/templates/bigbang/autoUnsealAndInit/configmap-for-vault-init.yaml +++ b/chart/templates/bigbang/autoUnsealAndInit/configmap-for-vault-init.yaml @@ -28,9 +28,9 @@ data: echo "---=== Waiting For Vault Server ===---"; sleep 5; done - + echo "---=== Initializing Vault ===---" - until vault operator init -address=$VAULT_ADDR > $INIT_OUT; do + until vault operator init -address=$VAULT_ADDR > $INIT_OUT || vault operator init -address=$VAULT_ADDR -status; do echo "retry initialize" sleep 5; done -- GitLab From 7ea8870f161caceaeafe0fac76dcf2fa3db3138f Mon Sep 17 00:00:00 2001 From: justinguidry11 <justinguidry@seed-innovations.com> Date: Wed, 26 Feb 2025 15:43:49 -0600 Subject: [PATCH 2/2] Docs --- CHANGELOG.md | 6 ++++++ README.md | 2 +- chart/Chart.yaml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c6e5326..c293a2ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), --- +## [0.29.1-bb.6] - 2025-02-26 + +### Changed + +- Added logic to init container script to check if vault is alsready initialized + ## [0.29.1-bb.5] - 2025-02-05 ### Changed diff --git a/README.md b/README.md index d150e61c..d9195b3d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ <!-- Warning: Do not manually edit this file. See notes on gluon + helm-docs at the end of this file for more information. --> # vault -   +   Official HashiCorp Vault Chart diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 487e2436..40cc33c4 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: vault -version: '0.29.1-bb.5' +version: '0.29.1-bb.6' appVersion: 1.18.4 kubeVersion: ">= 1.20.0-0" description: Official HashiCorp Vault Chart -- GitLab