Hello All, I'm deploying Flyte with my existing ap...
# ask-the-community
p
Hello All, I'm deploying Flyte with my existing application I want to redirect flyte on /flyte not on /console I'm using flyte-binary is there any way of doing this? Slack Conversation
s
Have you tried changing console to your desired url endpoint in the values config?
cc @David Espejo (he/him)
p
Yes
s
Are you seeing any error?
p
Yes the UI sending not found json response
s
Could you share with us the value you changed and the error stack trace you're seeing?
p
I'll explain to you my issue once again I'm installing flyte with my existing application I'm using flyte-binary so we have url like https:<>.com/console for flyteconsole we need to add /flyte as a prefix for all routes so routes coming from flute shouldn't be in conflict with our applications routes
s
You should be able to configure with base URL: https://docs.flyte.org/en/latest/concepts/console.html#environment-variables, but I'm not sure where to add this in the flyte binary chart (I think in configmap.yaml but I'm not sure.) @David Espejo (he/him), do you have any idea?
p
Yeah I'm confused with the same
Where we need to specify ADMIN_API_URL
Can we edit the code which flyte-binary using?
s
Yes, you can edit the helm chart.
Why do you want to configure the admin api url?
p
I'm adding flyte support in my existing app
With routes of flyte and conflicting between my existing routes
s
Here's a reference thread for you: https://discuss.flyte.org/t/13253871/hi-im-running-into-an-issue-where-flyteconsole-cant-find-fly#fddbe384-b838-4053-95e7-9315fdbdd15f. This includes configuring the flyte-core helm chart. For the flyte-binary helm chart, I think you need to add the console configuration here (as a configmap): https://github.com/flyteorg/flyte/blob/master/charts/flyte-binary/templates/configmap.yaml. Can you give that a try?
p
Adding env variables explicitly in flyte-binary is not working
s
Can you share the configmap?
p
hey i want a favour i digged the issue in case of flyte-binary we are running go server right? and we are not passing env variables as like as we are passing for individual flyte-cosnole so i found variable for BASE_URL it was hardcoded i changed it according to my need but not able to find ADMIN_API_URL api route is going without any prefix @Samhita Alla