Commit 8e1276e5 authored by Ash McKenzie's avatar Ash McKenzie

Merge branch '270406-review-app-deploy-failed-when-deleting-resources' into 'master'

Resolve "review app deploy failed when deleting resources"

See merge request gitlab-org/gitlab!45632
parents 79e8bd16 04e1ac2a
......@@ -75,7 +75,7 @@ function kubectl_cleanup_release() {
kubectl --namespace "${namespace}" get ingress,svc,pdb,hpa,deploy,statefulset,job,pod,secret,configmap,pvc,clusterrole,clusterrolebinding,role,rolebinding,sa,crd 2>&1 \
| grep "${release}" \
| awk '{print $1}' \
| xargs kubectl --namespace "${namespace}" delete \
| xargs kubectl --namespace "${namespace}" delete --ignore-not-found \
|| true
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment