feat(argo-cd): Add support for labels on Service Accounts (#1513)

* Allow configuring labels on service accounts

Signed-off-by: Mattias Ängehov <mattias.angehov@castoredc.com>

* Update documentation

Signed-off-by: Mattias Ängehov <mattias.angehov@castoredc.com>

* Update version and changes

Signed-off-by: Mattias Ängehov <mattias.angehov@castoredc.com>

Signed-off-by: Mattias Ängehov <mattias.angehov@castoredc.com>
This commit is contained in:
Mattias Ängehov 2022-10-06 16:31:51 +02:00 committed by GitHub
parent c11a729595
commit 197526a40b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 2 deletions

View file

@ -12,4 +12,7 @@ metadata:
{{- end }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
{{- range $key, $value := .Values.controller.serviceAccount.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}