diff --git a/cluster-sync/clean.sh b/cluster-sync/clean.sh index b0d8b2d9..1598ddef 100755 --- a/cluster-sync/clean.sh +++ b/cluster-sync/clean.sh @@ -25,3 +25,4 @@ fi _kubectl delete -f https://raw.githubusercontent.com/kubevirt/hostpath-provisioner-operator/master/deploy/operator.yaml -n hostpath-provisioner --ignore-not-found _kubectl delete -f https://raw.githubusercontent.com/kubevirt/hostpath-provisioner-operator/master/deploy/namespace.yaml --ignore-not-found +_kubectl delete -f https://raw.githubusercontent.com/kubevirt/hostpath-provisioner-operator/master/deploy/storageclass-wffc.yaml --ignore-not-found diff --git a/cluster-sync/sync.sh b/cluster-sync/sync.sh index bb388f67..35a21921 100755 --- a/cluster-sync/sync.sh +++ b/cluster-sync/sync.sh @@ -24,6 +24,48 @@ DOCKER_REPO=${registry} make push _kubectl create -f https://raw.githubusercontent.com/kubevirt/hostpath-provisioner-operator/master/deploy/namespace.yaml _kubectl create -f https://raw.githubusercontent.com/kubevirt/hostpath-provisioner-operator/master/deploy/operator.yaml -n hostpath-provisioner +# Remove deployment +_kubectl delete deployment hostpath-provisioner-operator -n hostpath-provisioner --ignore-not-found +# Redeploy with the correct image name. + cat <