Can we edit the code which flyte-binary using?
# flyte-deployment
p
Can we edit the code which flyte-binary using?
k
yes, you can update the code, and then update the go module in flyte repo and build the image 1. update the code (e.g. flyteadmin) 2. In flyte repo, run
go mod edit -replace <http://github.com/flyteorg/flyteadmin=github.com/flyteorg/flyteadmin@|github.com/flyteorg/flyteadmin=github.com/flyteorg/flyteadmin@><git_sha>
3. build an image.
make build_native_flyte
p
Can you guide me
How I can start with
I just want to add some prefix before urls
Since we don't have env variables in binary as like as core have
I'm trying to replicate same thing there
@Kevin Su
k
which urls?
p
I mean we have ui on /console and api on /api
So Im deploying flyte with my existing application
So I want some prefix so my existing routes and flyte routes will not make any conflict
@Kevin Su
k
could you create an issue here? [flyte-core]
p
You mean for flyte-binary?
k
I’m not sure how to do it for now, need some time to dig into it. I just tried to change the endpoint in the flyteadmin, but it didn’t work for me.
yes, need to make /api and /console configurable
p
Yeah in flyte-binaru
Binary*
Hey can you do me a favor I setup the things for flyte it's working as per my requirements Just I need to flytectl config init I'm just using http service and I also have an ingress for the same How can I use http ingress or service.