Open lenalebt opened 6 years ago
I found a workaround using https://github.com/superbrothers/minikube-ingress-dns which allows me to use the same DNS names from within the cluster and locally.
Nevertheless, it might be beneficial to be able to set a different URL for internal and external reachability.
When I run the fn ui via the helm chart in kubernetes and add an ingress to connect to the ui, it uses the cluster-internal FN_API_URL for running queries against the fn-api from the user's browser. This service is not available externally as long as there is no ingress configuration.
I think it should either use some proxying through the fn-ui, or allow an FN_EXTERNAL_API_URL to be set that will be used in these contexts. In my case, the fn api is available on
fn-api.local
. I am running this stuff within minikube for local development.