Skip to content
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

Application gateway redirects to value set in backend-hostname (used for SSL) #1607

Open
jekahn opened this issue Apr 10, 2024 · 0 comments
Open

Comments

@jekahn
Copy link

jekahn commented Apr 10, 2024

Describe the bug
For SSL enablement, I need to set the annotation:
appgw.ingress.kubernetes.io/backend-hostname: backend

This is the CN of the certificate returned by the backend server

The health probes passes but when using the browser redirects to this value (which does not resolve to an IP)

I have TLS enabled -- please see my annotations here:

 appgw.ingress.kubernetes.io/backend-protocol: https
 appgw.ingress.kubernetes.io/health-probe-hostname: backend
 appgw.ingress.kubernetes.io/request-timeout: "120"
 cert-manager.io/cluster-issuer: letsencrypt-production
kubernetes.io/ingress.class: azure/application-gateway

I had this working, but after upgrading to k8s 1.28, it doesnt work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant