Skip to content

Commit

Permalink
Add serviceAccount.annotations to enable EKS IAM roles (#54)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Stitt <[email protected]>
  • Loading branch information
jasonstitt authored Jun 18, 2020
1 parent 9cb27e6 commit 1250e98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion keda/templates/01-serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
app.kubernetes.io/part-of: {{ .Values.operatorName }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.serviceAccount.annotations }}
annotations:
{{- toYaml .Values.serviceAccount.annotations | nindent 6}}
{{- end }}
name: {{ .Values.serviceAccount.name }}
namespace: {{ .Release.Namespace }}
{{- end -}}
{{- end -}}
2 changes: 2 additions & 0 deletions keda/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ serviceAccount:
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: keda-operator
# Annotations to add to the service account
annotations: {}

# Set to the value of the Azure Active Directory Pod Identity
# This will be set as a label on the Keda Pod(s)
Expand Down

0 comments on commit 1250e98

Please sign in to comment.