-
Notifications
You must be signed in to change notification settings - Fork 67
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
feat: (PSKD-1006) Use ingress-nginx v1.12 for K8s 1.31 support #587
Conversation
Signed-off-by: David.Houck <[email protected]>
docs/CONFIG-VARS.md
Outdated
@@ -419,7 +419,7 @@ The EBS CSI driver is currently only used for kubernetes v1.23 or later AWS EKS | |||
| INGRESS_NGINX_NAMESPACE | NGINX Ingress Helm installation namespace | string | ingress-nginx | false | | baseline | | |||
| INGRESS_NGINX_CHART_URL | NGINX Ingress Helm chart URL | string | See [this document](https://kubernetes.github.io/ingress-nginx) for more information. | false | | baseline | | |||
| INGRESS_NGINX_CHART_NAME | NGINX Ingress Helm chart name | string | ingress-nginx | false | | baseline | | |||
| INGRESS_NGINX_CHART_VERSION | NGINX Ingress Helm chart version | string | "" | false | If left as "" (empty string), version `4.11.1` is used for Kubernetes clusters whose version is >= 1.26.X, and for Kubernetes clusters whose version is <= 1.25.X please set this variable to avoid errors. See [Supported Versions table](https://github.com/kubernetes/ingress-nginx/?tab=readme-ov-file#supported-versions-table) for the supported versions list. | baseline | | |||
| INGRESS_NGINX_CHART_VERSION | NGINX Ingress Helm chart version | string | "" | false | If left as "" (empty string), version `4.12.0` is used for Kubernetes clusters whose version is >= 1.26.X, for Kubernetes clusters whose version is <= 1.25.X you must set this variable to avoid errors. See [Supported Versions table](https://github.com/kubernetes/ingress-nginx/?tab=readme-ov-file#supported-versions-table) for the supported versions list. | baseline | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the k8s cluster version warning needs to be adjusted. ingress-nginx 1.12.0 is documented to support k8s 1.28 to 1.32.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ephesused, I also needed to update the k8sMinorVersion value for the new ingress-nginx version so that v1.12.0 will only be installed by default for k8s 1.28 and newer clusters. The output message and behavior should indicate that for K8s clusters <= v1.27, the INGRESS_NGINX_CHART_VERSION var must be explicitly set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ephesused , ready for re-review when you get a chance.
Signed-off-by: David.Houck <[email protected]>
Changes
ingress-nginx
Helm chart to use v4.12.0 for K8s >= v1.28 in order to support K8s 1.31INGRESS_NGINX_CHART_VERSION
in CONFIG-VARS.md file to be 4.12.0Tests