Robin Eklund
11/10/2022, 12:25 PMkubernetes_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?Samhita Alla
Robin Eklund
11/10/2022, 2:06 PMLaunchPlan.get_or_create(
name="my_lp",
workflow=my_wf,
security_context=security.SecurityContext(
run_as=security.Identity(
iam_role=None,
k8s_service_account="my-flyte-service-account",
),
),
)
When clicking "Launch Workflow" you will not see this in the UI - only when you press "Launch" you will see it set the given service account.Samhita Alla