Hi
@thankful-minister-83577,
Still having some issues here. I have the following in my values.yaml:
configuration:
...
inline:
cluster_resources:
customData:
- production:
- defaultIamRole:
value: "<IAM_ROLE_ARN>"
- staging:
- defaultIamRole:
value: "<IAM_ROLE_ARN>"
- development:
- defaultIamRole:
value: "<IAM_ROLE_ARN>"
clusterResourceTemplates:
inline:
001_namespace.yaml: |
apiVersion: v1
kind: Namespace
metadata:
name: "{{ namespace }}"
042_def_service_account.yaml: |
apiVersion: v1
kind: ServiceAccount
metadata:
name: default
namespace: '{{ namespace }}'
annotations:
<http://eks.amazonaws.com/role-arn|eks.amazonaws.com/role-arn>: '{{ defaultIamRole }}'
I found that I needed to add
001_namespace.yaml
or else the project specific namespaces were not created. However, the default sa in each namespace does
not have that role-arn annotation.
I can see that the
flyte-backend-flyte-binary-cluster-resource-templates
config map does correctly contain the inline cluster resource templates. I can also see that the the
cluster_resources
are contained in a file at
/etc/flyte/config.d/010-inline-config.yaml
on the main flyte pod.
So it seems like everything is in place, but the annotation is not added to the default sa? Moreoever, it's not clear that the
042_def_service_account.yaml
does anything. If I edit the name and update the helm chart, there is no such service account created in any namespace. I'm all out of ideas at this point ๐