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:
parent
85de0a16e7
commit
e248b6b316
5 changed files with 27 additions and 20 deletions
|
|
@ -4,7 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1
|
|||
kind: Role
|
||||
metadata:
|
||||
labels:
|
||||
{{ include "argocd-image-updater.labels" . | nindent 4 }}
|
||||
{{- include "argocd-image-updater.labels" . | nindent 4 }}
|
||||
name: {{ include "argocd-image-updater.fullname" . }}
|
||||
namespace: {{ include "argocd-image-updater.namespace" . | quote }}
|
||||
rules:
|
||||
|
|
@ -37,7 +37,7 @@ apiVersion: rbac.authorization.k8s.io/v1
|
|||
kind: RoleBinding
|
||||
metadata:
|
||||
labels:
|
||||
{{ include "argocd-image-updater.labels" . | nindent 4 }}
|
||||
{{- include "argocd-image-updater.labels" . | nindent 4 }}
|
||||
name: {{ include "argocd-image-updater.fullname" . }}
|
||||
namespace: {{ include "argocd-image-updater.namespace" . | quote }}
|
||||
roleRef:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue