Specify alternate URL for redirect and internal lookups for Keycloak in Kubernetes
I found out that there is a frontend URL parameter in the keycloak server. I set this to point to my ingress, and set the auth-server-url
to point to my keycloak service name. This solved my problem, in that when my application does a lookup internally it uses the service, but when I access the frontend it uses the ingress.