https://flyte.org logo
Title
n

Nan Qin

04/11/2023, 3:35 PM
Is there a way to specify the k8 service account to use when executing a task/workflow with FtelyRemote.execute?
it is possible to do so with
flytectl --execFile exec_spec.yaml ...
and in exec_spec.yaml a k8 service account can be specified as
kubeServiceAcct: "service-account-name"
k

Ketan (kumare3)

04/11/2023, 7:28 PM
@Nan Qin yes you can - using options
k

Ketan (kumare3)

04/11/2023, 7:32 PM
yup
in that
run_as
this is identity
sorry not sure why the code is not linking correctluy
n

Nan Qin

04/11/2023, 7:36 PM
:gratitude-thank-you: