diff --git a/maintenance_page/scripts/failback.sh b/maintenance_page/scripts/failback.sh index 6ed30bf8d4..409f816bc0 100755 --- a/maintenance_page/scripts/failback.sh +++ b/maintenance_page/scripts/failback.sh @@ -27,5 +27,9 @@ kubectl -n ${NAMESPACE} delete --ignore-not-found=true -f maintenance_page/mani echo Delete maintenance service kubectl -n ${NAMESPACE} delete --ignore-not-found=true -f maintenance_page/manifests/maintenance/service_maintenance.yml +echo Update image tag +perl -p -e "s/#MAINTENANCE_IMAGE_TAG#/dummy-tag/" maintenance_page/manifests/maintenance/deployment_maintenance.yml.tmpl \ + > maintenance_page/manifests/maintenance/deployment_maintenance.yml + echo Delete maintenance app kubectl -n ${NAMESPACE} delete --ignore-not-found=true -f maintenance_page/manifests/maintenance/deployment_maintenance.yml