Hi!
How do i set a default
kubernetes_service_account
for a specific launch plan (the value you can see in the picture)?
i tried to do like this:
LaunchPlan.get_or_create(
name="my_lp",
workflow=my_wf,
auth_role=AuthRole(
assumable_iam_role=None,
kubernetes_service_account="my-flyte-service-account"
),
)
But when i am clicking "Launch Workflow", select the Launch Plan in the drop down, click "Advanced options" the values are empty (see picture).
I also tried to do like this:
LaunchPlan.get_or_create(
name="my_lp",
workflow=my_wf,
security_context=security.SecurityContext(
run_as=security.Identity(
iam_role="default",
k8s_service_account="my-flyte-service-account",
),
),
)
But this didn't work either. Anyone know how to do this?