Michael Tinsley
04/24/2023, 3:12 PMflyte-
to better organise flyte namespaces. Is the correct/best way to do this by overriding the namespace in clusterResourceTemplates , for example,
001_namespace.yaml: |
apiVersion: v1
kind: Namespace
metadata:
~name: '{{ namespace }}'~
name: 'flyte-{{ namespace }}'
... and for all other resource templates
Firstly will this approach work? Or is there a better way to do this?
2. And secondly, I think I asked this a few months ago and the answer was no at the time, but is there any way to set the default service account for workflow where that is not the default
k8s SA? Basically our security policy states the default service account should not be used . So I plan to annotate a non-default service account with the IAM role ARN, and ideally that account should be used by defaultMike Ossareh
04/24/2023, 3:22 PM@task
We've been planning to do this since we want to make use of the k8s downward api to control some env vars that control our code. Once I find the ticket with the details I'll post here.Michael Tinsley
04/24/2023, 3:27 PMMike Ossareh
04/24/2023, 3:34 PM