Open m-yosefpor opened 2 years ago
Was this working before and stopped working on 3.0? I'm not sure if named ports are currently supported.
no I don't think so. we switched our ingress controller to emissary, and this kind of ingresses stopped working.
Got it. I don't believed named ports work currently so this would be a feature request. Are you able to help contribute a PR for this perhaps?
Hi all! I faced the same behavior and proposing a fix (or feature) #4809
Describe the bug
When specifiying
backend.service.port.name
instead ofbackend.service.port.number
, emissary ingress will not function:To Reproduce Steps to reproduce the behavior:
This will work fine. Now change the
port.number
and useport.name
in the service instead. emissary ingress will no longer work for that ingress.Expected behavior
Service backends should work with either
port.number
orport.name
.Versions (please complete the following information):
Additional context
As k8s v1.23+ has deprecated and dropped support of ingress v1beta, supporting ingress v1 spec is essential.