Skip to content

Commit

Permalink
fix: specify IAM role for the provisioner (#3152)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvmakine authored Oct 17, 2024
1 parent 5c19a03 commit ffba116
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions charts/ftl/templates/provisioner-role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.provisioner.serviceAccountName }}
namespace: {{ .Release.Namespace }}
{{- if .Values.provisioner.provisionersRoleArn }}
annotations:
eks.amazonaws.com/role-arn: {{ .Values.provisioner.provisionersRoleArn }}
{{- end }}
3 changes: 2 additions & 1 deletion charts/ftl/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ controller:
tolerations: null

provisioner:
provisionersRoleArn: arn:aws:iam::ftl-provisioners-irsa-role
enabled: false
replicas: 1
revisionHistoryLimit: 0
Expand All @@ -97,7 +98,7 @@ provisioner:
pullPolicy: IfNotPresent

envFrom: null
serviceAccountName: ftl
serviceAccountName: ftl-provisioner

env:
- name: MY_POD_IP
Expand Down

0 comments on commit ffba116

Please sign in to comment.