Handle named (non-numeric) ports correctly #7280
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
NGINX Ingress controller version: v1.0.0-alpha.1
Kubernetes version (use
kubectl version
): v1.19+Environment: all
uname -a
): allWhat happened:
In pre-1.0 versions, numeric and string serviceport values were used:
https://github.com/kubernetes/ingress-nginx/blob/nginx-0.30.0/internal/ingress/controller/template/template.go#L859-L861
https://github.com/kubernetes/ingress-nginx/blob/nginx-0.30.0/internal/ingress/controller/template/template.go#L876-L878
In 1.0.0-alpha, only numeric ports are used. Something like this is required to continue to handle non-numeric ports:
That also indicates test coverage of non-numeric port paths is missing
The text was updated successfully, but these errors were encountered: