application-gateway-kubernetes-ingress
application-gateway-kubernetes-ingress copied to clipboard
ssl-redirect and override-frontend-port are incompatible annotations.
Describe the bug If a custom port is defined with < appgw.ingress.kubernetes.io/override-frontend-port: "8060" >. Agic will not create an HTTPs listner and redirect the custom port to the HTTPs 443 port
To Reproduce Create namespace with custom HTTP port with <appgw.ingress.kubernetes.io/override-frontend-port: "8060"> annotation Attempt http -> https redirect with < appgw.ingress.kubernetes.io/ssl-redirect: "true" > no https listener will be created
Ingress Controller details helm 1.5.2
Resolution:
Remove custom frontend port < appgw.ingress.kubernetes.io/override-frontend-port: "port" > then agic creates http port 80 listener and redirects http -> https listener.
Better solution:
Add custom HTTPs frontend port annotation per namespace Add custom HTTP frontend port annotation per namespace SSL redirect uses custom frontend HTTP port for http-> https redirection.