attempt to fix helm install in bats tests

Signed-off-by: jessebot <jessebot@linux.com>
This commit is contained in:
jessebot 2024-05-21 09:04:08 +02:00 committed by Nathan A Phelps
parent d6a7dce06c
commit a139a100bf

View file

@ -8,7 +8,7 @@ name_prefix() {
# chart_dir returns the directory for the chart
chart_dir() {
echo ${BATS_TEST_DIRNAME}/../..
echo ${BATS_TEST_DIRNAME}/../../charts/openbao
}
# helm_install installs the vault chart. This will source overridable
@ -144,7 +144,7 @@ wait_for_complete_job() {
# string length.
kubectl get job $1 -o json | \
jq -r 'select(
.status.succeeded == 1
.status.succeeded == 1
) | .metadata.namespace + "/" + .metadata.name'
}