After some trial and error I decided that having the Helm hooks there is not practical and causes issues.
The biggest issue is that resources deployed using Helm hooks are not removed when Helm release is uninstalled, so the mutatingwebhookconfiguration stays in the cluster, causes failures and needs to be manually removed.
After some trial and error I decided that having the Helm hooks there is not practical and causes issues.
The biggest issue is that resources deployed using Helm hooks are not removed when Helm release is uninstalled, so the
mutatingwebhookconfiguration
stays in the cluster, causes failures and needs to be manually removed.