From 2c9d04005908a45eea48fe5422ae48c44e72b72c Mon Sep 17 00:00:00 2001 From: jessebot Date: Tue, 21 May 2024 08:19:45 +0200 Subject: [PATCH] update the openbao helm chart test that runs after install to no longer use the vault command Signed-off-by: jessebot --- charts/openbao/Chart.yaml | 2 +- charts/openbao/README.md | 8 ++++---- charts/openbao/templates/tests/server-test.yaml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/charts/openbao/Chart.yaml b/charts/openbao/Chart.yaml index 6f34713..72ed3c7 100644 --- a/charts/openbao/Chart.yaml +++ b/charts/openbao/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v2 name: openbao -version: 0.3.0 +version: 0.4.0 appVersion: v2.0.0-alpha20240329 kubeVersion: ">= 1.27.0-0" description: Official OpenBao Chart diff --git a/charts/openbao/README.md b/charts/openbao/README.md index 9769a3e..bd3fda0 100644 --- a/charts/openbao/README.md +++ b/charts/openbao/README.md @@ -1,6 +1,6 @@ # openbao -![Version: 0.3.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![AppVersion: v2.0.0-alpha20240329](https://img.shields.io/badge/AppVersion-v2.0.0--alpha20240329-informational?style=flat-square) +![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![AppVersion: v2.0.0-alpha20240329](https://img.shields.io/badge/AppVersion-v2.0.0--alpha20240329-informational?style=flat-square) Official OpenBao Chart @@ -8,9 +8,9 @@ Official OpenBao Chart ## Maintainers -| Name | Email | Url | -|---------|------------------------------------|-----------------------| -| OpenBao | https://lists.lfedge.org/g/openbao | | +| Name | Email | Url | +| ---- | ------ | --- | +| OpenBao | | | ## Source Code diff --git a/charts/openbao/templates/tests/server-test.yaml b/charts/openbao/templates/tests/server-test.yaml index 325ac8e..f5ef064 100644 --- a/charts/openbao/templates/tests/server-test.yaml +++ b/charts/openbao/templates/tests/server-test.yaml @@ -27,18 +27,18 @@ spec: - /bin/sh - -c - | - echo "Checking for sealed info in 'vault status' output" + echo "Checking for sealed info in 'openbao status' output" ATTEMPTS=10 n=0 until [ "$n" -ge $ATTEMPTS ] do echo "Attempt" $n... - vault status -format yaml | grep -E '^sealed: (true|false)' && break + openbao status -format yaml | grep -E '^sealed: (true|false)' && break n=$((n+1)) sleep 5 done if [ $n -ge $ATTEMPTS ]; then - echo "timed out looking for sealed info in 'vault status' output" + echo "timed out looking for sealed info in 'openbao status' output" exit 1 fi