You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Unable to get nginx ingress controller (3.0.1) to validate a k8s compatible Rancher (any version to 2.7.1) ingress that utilizes "pathType: ImplementationSpecific" and does not specify a path. This prevents easy usage of Rancher with later (>2.3.0) nginx controller.
To Reproduce
Steps to reproduce the behavior:
On K8s (tested on k3s) k8s v1.24
Deploy Nginx controller (3.0.1) via helmchart
Deploy Cert Manager (1.8.2)
Deploy Rancher (any, tested 2.6.9, 2.6.10, 2.7.1)
Nginx fails to validate ingress.
I0128 20:30:52.803167 1 event.go:285] Event(v1.ObjectReference{Kind:"Ingress", Namespace:"cattle-system", Name:"rancher", UID:"0d2ea447-9f6d-4ef4-ae0f-a207aa8e8c43", APIVersion:"networking.k8s.io/v1", ResourceVersion:"28689", FieldPath:""}): type: 'Warning' reason: 'Rejected' cattle-system/rancher was rejected: with error: spec.rules[0].http.path[0].path: Required value
Expected behavior
Nginx properly handles ImplementationSpecific with no path specified and defaults to '/' or provides ability to input default implementation specific path.