Keycloak as Wildfly adapter running on Kubernetes?

Hi, our project ( RH MTA / Windup ) is using the EAP Openshift image and installing keycloak inside.
When I run the pod in Kubernetes ( minikube ) it fails because it tries to reach “routes” endpoint in the API.

/apis/route.openshift.io/v1/namespaces/{namespace}/routes

And obviously this resource doesn’t exist on K8s.

My colleague Ken Wills pointed me also to this code : https://github.com/wildfly/wildfly-cekit-modules/blob/master/jboss/container/wildfly/launch/keycloak/added/keycloak.sh#L1067