Merge "Update versions of jump server components"
[icn.git] / deploy / baremetal-operator / baremetal-operator.sh
index 35e79a1..4aa3eff 100755 (executable)
@@ -9,7 +9,9 @@ source $LIBDIR/common.sh
 
 trap err_exit ERR
 function err_exit {
-    kubectl get all -n baremetal-operator-system
+    if command -v kubectl; then
+       kubectl get all -n baremetal-operator-system
+    fi
 }
 
 # This may be used to update the in-place Bare Metal Operator YAML