-
Notifications
You must be signed in to change notification settings - Fork 2k
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
CRD Upgrade Issue from v1alpha1 to v1 in Nginx Ingress Controller Helm Chart #4931
Comments
Hi @nikolaigut thanks for reporting! Be sure to check out the docs and the Contributing Guidelines while you wait for a human to take a look at this 🙂 Cheers! |
Hi @nikolaigut, the CRDs are not upgraded automatically by Helm and need to be applied manually. Please see this document on upgrading the CRDs. |
Thank you for your prompt answer. This is correct, but should be made clear in the documentation so that there is no confusion. Perhaps you could add a note in the documentation that the CRDs are installed but not updated. |
@nikolaigut I will get the documentation updated as soon as possible and will leave this issue open until it is available, thank you for the feedback! |
I am trying to think about the best way to make this highly visible. https://docs.nginx.com/nginx-ingress-controller/installation/installing-nic/installation-with-helm/#upgrading-the-crds |
@oseoin @brianehlert @nikolaigut https://docs.nginx.com/nginx-ingress-controller/installation/installing-nic/installation-with-helm/#upgrading-the-chart and https://github.com/nginxinc/kubernetes-ingress/tree/main/charts/nginx-ingress#upgrading-the-chart does say to upgrade the CRDs first, maybe we can highlight it better and add Helm's explanation around the same. |
Describe the bug
After upgrading from the Nginx Ingress Controller Helm Chart version 1.0.0 to 1.1.0, the CRDs globalconfigurations.k8s.nginx.org and transportservers.k8s.nginx.org do not upgrade from version v1alpha1 to version v1 as expected. This issue is evident in the Kubernetes logs, which show errors indicating that the system cannot find the requested resource for transportservers.k8s.nginx.org.
Log Error
To Reproduce
Steps to reproduce the behavior:
The problem also occurs if the release of Helm Chart version 1.0.0 is uninstalled first.
Your environment
Version of the Ingress Controller: nginx/nginx-ingress:3.4.0
Version of Kubernetes: v1.26.10
Kubernetes platform: Azure Kubernetes Service
Using NGINX or NGINX Plus: NGINX
Additional relevant environment details: Helm Version v3.13.1
Additional context
Add any other context about the problem here, such as additional log files, error messages, or screenshots that might help diagnose the issue.
The text was updated successfully, but these errors were encountered: