vendor Auto-DevOps.gitlab-ci.yml to resolve "Redeploying deleted app gives helm error"
For the review app delete step, the autodevops template is calling:
helm delete "$name"
This leaves a ConfigMap around on the Kubernetes cluster after that review app instance is torn down and also makes it so you can't re-deploy the same branch again without a helm error:
Error: UPGRADE FAILED: "review-nginx-h7jpet" has no deployed releases
Edited by Thong Kuah