{{- range .Values.serviceAccountRoles }} --- apiVersion: v1 kind: ServiceAccount metadata: name: {{ .name }} namespace: {{ .namespace }} {{- if .labels }} labels: {{ toYaml .labels }} {{- end }} annotations: eks.amazonaws.com/role-arn: {{ .role }} {{- if .annotations }} {{ toYaml .annotations }} {{- end }} {{- end }}