feat(argocd-image-updater): Add ability to set .Values.namespaceOverride (#2562)

Signed-off-by: Braden Wright <braden.wright@waltlabs.io>
This commit is contained in:
Braden Wright 2024-03-01 01:41:23 -07:00 committed by GitHub
parent 09679ae4d3
commit fba54d4597
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 24 additions and 13 deletions

View file

@ -6,7 +6,7 @@ metadata:
labels:
{{ include "argocd-image-updater.labels" . | nindent 4 }}
name: {{ include "argocd-image-updater.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
namespace: {{ include "argocd-image-updater.namespace" . | quote }}
rules:
- apiGroups:
- ''
@ -39,6 +39,7 @@ metadata:
labels:
{{ include "argocd-image-updater.labels" . | nindent 4 }}
name: {{ include "argocd-image-updater.fullname" . }}
namespace: {{ include "argocd-image-updater.namespace" . | quote }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
@ -46,5 +47,5 @@ roleRef:
subjects:
- kind: ServiceAccount
name: {{ include "argocd-image-updater.serviceAccountName" . }}
namespace: {{ .Release.Namespace | quote }}
namespace: {{ include "argocd-image-updater.namespace" . | quote }}
{{- end }}