update the openbao helm chart test that runs after install to no longer use the vault command
Signed-off-by: jessebot <jessebot@linux.com>
This commit is contained in:
parent
b59b6e55bb
commit
2c9d040059
3 changed files with 8 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: openbao
|
name: openbao
|
||||||
version: 0.3.0
|
version: 0.4.0
|
||||||
appVersion: v2.0.0-alpha20240329
|
appVersion: v2.0.0-alpha20240329
|
||||||
kubeVersion: ">= 1.27.0-0"
|
kubeVersion: ">= 1.27.0-0"
|
||||||
description: Official OpenBao Chart
|
description: Official OpenBao Chart
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# openbao
|
# openbao
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Official OpenBao Chart
|
Official OpenBao Chart
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@ Official OpenBao Chart
|
||||||
## Maintainers
|
## Maintainers
|
||||||
|
|
||||||
| Name | Email | Url |
|
| Name | Email | Url |
|
||||||
|---------|------------------------------------|-----------------------|
|
| ---- | ------ | --- |
|
||||||
| OpenBao | https://lists.lfedge.org/g/openbao | <https://openbao.org> |
|
| OpenBao | | <https://openbao.org> |
|
||||||
|
|
||||||
## Source Code
|
## Source Code
|
||||||
|
|
||||||
|
|
|
@ -27,18 +27,18 @@ spec:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
echo "Checking for sealed info in 'vault status' output"
|
echo "Checking for sealed info in 'openbao status' output"
|
||||||
ATTEMPTS=10
|
ATTEMPTS=10
|
||||||
n=0
|
n=0
|
||||||
until [ "$n" -ge $ATTEMPTS ]
|
until [ "$n" -ge $ATTEMPTS ]
|
||||||
do
|
do
|
||||||
echo "Attempt" $n...
|
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))
|
n=$((n+1))
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
if [ $n -ge $ATTEMPTS ]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue