Hi! is there a way to change the default lunchplan...
# flyte-support
k
Hi! is there a way to change the default lunchplan for a workflow to be a different lunchplan than the one created automatically?
f
Default is supposed to have the same name and same signature
So ideally no
But you can create more
k
@freezing-airport-6809 by changing the default launchplan I mean If I create a different one with another name, I want that one to be selected by default when I press the button to manually launch a workflow. because it's boring to every time manually choose a launchplan from the select box. I want it to be selected by default.
h
@kind-hamburger-19492, one more clarifying question on this. Do you mean to change the default launchplan or just the default launchplan selected in the flyteconsole launch form?
k
@high-accountant-32689 for my workflow I have created a manual execution launchplan on which I set custom security context, etc. And as I always run the workflow with that launchplan I created, I want that launchplan to be preselected in the flyteconsole launch form (instead of the default launchplan created automatically by Flyte). The goal is to reduce the number of clicks necessary to run my workflow πŸ™‚ But alternatively, if there is a possibility to modify the default launchplan created by Flyte ( so I could set the right security context), that would also serve my needs. Does this make sense?
h
got it, yes, thanks for clarifying. I'll get back to you shortly, ok?
k
Thanks!
g
Every entity in Flyte is immutable, so I think we can’t update the default launch plan. And for now, the default launch plan is always the one we first created. To support changing the default LP, I think we need to add another table in postgres to store the default LP for every WF, which will introduce a new api (UpdateDefaultLaunch) in LuanchPlanManager in flyteadmin. wdyt @high-accountant-32689
a
Hi Any updates on this? Should this request be captured on an issue?
h
No updates. @average-finland-92144, can you open an issue to capture this?
πŸ‘ 1
a
[flyte-ui]
u
πŸ’» Create a Flyte UI Feature Request issue: https://github.com/flyteorg/flyteconsole/issues/new
a
#666 issue in the
flyte-console
repo. Iron Maiden vibes πŸ™‚
🀘 2
152 Views