added path for velero binary
This commit is contained in:
parent
aab041b3ba
commit
9be1895e48
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ command -v jq >/dev/null 2>&1 || {
|
|||
|
||||
#--- Fetch JSON from velero -------------------------------------------------
|
||||
# wrap in timeout so we don't hang forever
|
||||
if ! VELERO_JSON=$(timeout 30s velero backup get -o json 2>&1); then
|
||||
if ! VELERO_JSON=$(timeout 30s /usr/local/bin/velero backup get -o json 2>&1); then
|
||||
echo "UNKNOWN: velero CLI error: ${VELERO_JSON}"
|
||||
exit $STATE_UNKNOWN
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue