Skip to content

Commit 96de2e6

Browse files
authored
Merge pull request #755 from PureStorage-OpenConnect/check-pxcli
add check for px cli
2 parents b4d6202 + 243d78f commit 96de2e6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/helm-backup-apps

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ AWS_ACCESS_KEY=$(sed -n 's/aws_access_key_id[ =]*//p' /root/.aws/credentials 2>/
22
AWS_SECRET_KEY=$(sed -n 's/aws_secret_access_key[ =]*//p' /root/.aws/credentials 2>/dev/null)
33
ADMIN_PW=$(kubectl get secret pxcentral-keycloak-http -n central -o jsonpath="{.data.password}" | base64 --decode)
44

5+
while [ ! -f /usr/local/bin/px ]; do
6+
echo "missing px cli. please install manually in /usr/local/bin to proceed"
7+
sleep 30
8+
done
9+
510
if [ "$platform" = ocp4 ]; then
611

712
# create ocp route for backup UI

0 commit comments

Comments
 (0)