how does service accwork in flyte, so you create a...
# flyte-support
e
how does service accwork in flyte, so you create anew namespace and a new SA on every project we create and then how does th trust identity is supposed to workas the oidc sub is based on namespace no?
a
hey Vikas So the
default
KSA comes with every K8s namespace and Flyte pods use it for executions (unless you indicate something different) So the IRSA Trust Relationship maps to
project-domain:default
e
yeah but i changed that in my helm to craete a new one with proper irsa
a
ah that works too
e
yeah its just that it was not using that so once i added default in my trust it worked
a
just for reference we also maintain Terraform that automates all the IRSA wiring https://github.com/unionai-oss/deploy-flyte/tree/main/environments/aws/flyte-core