Skip to content

fix: UI backend url with ingress#50

Open
saikonen wants to merge 2 commits intoouterbounds:masterfrom
saikonen:fix/ui-backend-url-with-ingress
Open

fix: UI backend url with ingress#50
saikonen wants to merge 2 commits intoouterbounds:masterfrom
saikonen:fix/ui-backend-url-with-ingress

Conversation

@saikonen
Copy link
Copy Markdown
Collaborator

@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