Skip to content

Delete k8s namespace when deleting a helm release

Context

Closes https://gitlab.com/gitlab-org/quality/engineering-productivity-infrastructure/-/issues/84

See the Root Cause Analysis at https://gitlab.com/gitlab-org/quality/engineering-productivity-infrastructure/-/issues/84#note_1285583434

What does this MR do?

When deleting a helm release with helm uninstall, helm is never removing the Kubernetes namespace.

This MR ensures that we remove the kubernetes namespace as soon as a helm release has been deleted.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading