Skip to content

Commit

Permalink
fix: add service account to runners (#3543)
Browse files Browse the repository at this point in the history
This is so that we can attach a single IAM role to runners. This is a
temporary workaround until we will have proper runner based identities
in AWS per module
  • Loading branch information
jvmakine authored Nov 27, 2024
1 parent bb022cb commit 9279f9f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions charts/ftl/templates/runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,13 @@ data:
tolerations:
{{- toYaml .Values.runner.tolerations | nindent 12 }}
{{- end }}
serviceAccountTemplate: |-
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app: ftl-runner
{{- if .Values.runner.runnersRoleArn }}
annotations:
eks.amazonaws.com/role-arn: {{ .Values.runner.runnersRoleArn }}
{{- end }}

0 comments on commit 9279f9f

Please sign in to comment.