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

fix: UI backend url with ingress #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

saikonen
Copy link
Contributor

@saikonen saikonen commented Dec 6, 2023

fixes the following issue with the Helm chart:

If deploying the default chart to a local cluster, the static UI will have an env var set that points to localhost:8083/api for all api requests. This is not exposed by default though, nor is it the correct url when deploying with the ingress enabled. The effect is that the UI frontend loads and is accessible, but all api requests fail due to not being reachable

changes to a conditional api url, dropping the port in case of deploying with the ingress.

Discussion: An alternative approach would be to simply add the correct metaflowUIBackendURL: "http://localhost/api/" to the example values.yaml. This would also document the necessity of providing a value for it.

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

Successfully merging this pull request may close these issues.

1 participant