fix(argo-cd): add namespace field for namespace scoped resources (#1937)

This commit is contained in:
Jakub Oskera 2023-04-13 16:08:34 +02:00 committed by GitHub
parent 7eeb70f711
commit 88d690ef62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
90 changed files with 92 additions and 27 deletions

View file

@ -4,6 +4,7 @@ kind: ServiceAccount
automountServiceAccountToken: {{ .Values.controller.serviceAccount.automountServiceAccountToken }}
metadata:
name: {{ template "argo-cd.controllerServiceAccountName" . }}
namespace: {{ .Release.Namespace | quote }}
{{- if .Values.controller.serviceAccount.annotations }}
annotations:
{{- range $key, $value := .Values.controller.serviceAccount.annotations }}