fix(argocd-image-updater): Properly quoting the config map values (and other fixes) (#2512)

fix(argocd-image-updater): Properly quoting the config map values
fix(argocd-image-updater): Only adding a data field to argocd-image-updater-ssh-config when there's data to be added
fix(argocd-image-updater): Only include config.argocd if config.applicationsAPIKind is set to 'argocd'
chore(argocd-image-updater): removing unneeded whitespace in Role and RoleBinding

Signed-off-by: Abdullah Alaqeel <a.alaqeel@sary.com>
This commit is contained in:
Abdullah Alaqeel 2024-03-21 02:52:58 +03:00 committed by GitHub
parent 85de0a16e7
commit e248b6b316
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 27 additions and 20 deletions

View file

@ -5,7 +5,7 @@ metadata:
{{- include "argocd-image-updater.labels" . | nindent 4 }}
name: argocd-image-updater-ssh-config
namespace: {{ include "argocd-image-updater.namespace" . | quote }}
{{- with .Values.config.sshConfig }}
data:
{{- with .Values.config.sshConfig }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}