-
Notifications
You must be signed in to change notification settings - Fork 2k
[Bug]: Uninstalling helm chart can cause issues with NGINX Plus mgmt config #7166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
running helm with |
Using |
Possible solution using helm hooks |
Helm Hooks are managed differently from other resources, and often lead to headaches over object ownership and lifecycle. I'd push for avoiding adding helm hooks to the chart if it can be avoided https://helm.sh/docs/topics/charts_hooks/#hook-resources-are-not-managed-with-corresponding-releases |
some investiagtion - |
@tstraley the team managed to get a fix in for this. Plan is to either v5.1.0 or v5.0.1 if we do a patch release before then. |
Version
edge
What Kubernetes platforms are you running on?
Kind
Steps to reproduce
When running NIC installed with NGINX plus and configured to deliver usage reports to a custom endpoint. If the helm chart is uninstalled the nginx instance can send a usage report to the default endpoint.
This occurs when the pod is marked by the Kubernetes cluster for deletion, Kubernetes then deletes the MGMT
ConfigMap
. NIC applies the default ConfigMap values and restarts NGINX. Eventually the pod is garbage collected and NIC/NGINX are stopped.The text was updated successfully, but these errors were encountered: