Kubernetes ingress gatekeeper and keycloak-js


I have created keycloak instance in my cluster and wanted to connect my frontend app (written in React) through keycloak-js and another micro-service (with gatekeeper). Although, I was not able to get this working as the discovery-url is an internal kubernetes service link. When the app redirects the user, it uses this url and that does not work for the user as it is only available inside the cluster. I can’t use ingress inside apparently as it does not allow it to be used inside the cluster.

I am still relatively new to these technologies. I hope someone could help!

Kind regards,