attempt to fix helm install in bats tests
Signed-off-by: jessebot <jessebot@linux.com>
This commit is contained in:
parent
d6a7dce06c
commit
a139a100bf
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ name_prefix() {
|
||||||
|
|
||||||
# chart_dir returns the directory for the chart
|
# chart_dir returns the directory for the chart
|
||||||
chart_dir() {
|
chart_dir() {
|
||||||
echo ${BATS_TEST_DIRNAME}/../..
|
echo ${BATS_TEST_DIRNAME}/../../charts/openbao
|
||||||
}
|
}
|
||||||
|
|
||||||
# helm_install installs the vault chart. This will source overridable
|
# helm_install installs the vault chart. This will source overridable
|
||||||
|
@ -144,7 +144,7 @@ wait_for_complete_job() {
|
||||||
# string length.
|
# string length.
|
||||||
kubectl get job $1 -o json | \
|
kubectl get job $1 -o json | \
|
||||||
jq -r 'select(
|
jq -r 'select(
|
||||||
.status.succeeded == 1
|
.status.succeeded == 1
|
||||||
) | .metadata.namespace + "/" + .metadata.name'
|
) | .metadata.namespace + "/" + .metadata.name'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue