Code Review
/
icn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
update the committers for icn
[icn.git]
/
deploy
/
baremetal-operator
/
baremetal-operator.sh
diff --git
a/deploy/baremetal-operator/baremetal-operator.sh
b/deploy/baremetal-operator/baremetal-operator.sh
index
35e79a1
..
34c5977
100755
(executable)
--- a/
deploy/baremetal-operator/baremetal-operator.sh
+++ b/
deploy/baremetal-operator/baremetal-operator.sh
@@
-9,7
+9,9
@@
source $LIBDIR/common.sh
trap err_exit ERR
function err_exit {
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
}
# This may be used to update the in-place Bare Metal Operator YAML
@@
-30,7
+32,7
@@
function deploy {
}
function clean {
}
function clean {
- kustomize build ${SCRIPTDIR}/icn | kubectl delete -f -
+ kustomize build ${SCRIPTDIR}/icn | kubectl delete -
-ignore-not-found=true -
f -
}
case $1 in
}
case $1 in