Add additional clean targets
[icn.git] / deploy / ironic / ironic.sh
index d4f4bdd..6aefde6 100755 (executable)
@@ -100,7 +100,7 @@ function deploy {
 }
 
 function clean {
-    kustomize build ${SCRIPTDIR}/icn | kubectl delete -f -
+    kustomize build ${SCRIPTDIR}/icn | kubectl delete --ignore-not-found=true -f -
     rm -rf ${IRONIC_DATA_DIR}
 }