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
|
||||
name: openbao
|
||||
version: 0.3.0
|
||||
version: 0.4.0
|
||||
appVersion: v2.0.0-alpha20240329
|
||||
kubeVersion: ">= 1.27.0-0"
|
||||
description: Official OpenBao Chart
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# openbao
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Official OpenBao Chart
|
||||
|
||||
|
@ -8,9 +8,9 @@ Official OpenBao Chart
|
|||
|
||||
## Maintainers
|
||||
|
||||
| Name | Email | Url |
|
||||
|---------|------------------------------------|-----------------------|
|
||||
| OpenBao | https://lists.lfedge.org/g/openbao | <https://openbao.org> |
|
||||
| Name | Email | Url |
|
||||
| ---- | ------ | --- |
|
||||
| OpenBao | | <https://openbao.org> |
|
||||
|
||||
## Source Code
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue