From e7516e82e3821d10139fba2afba0919eae1af44d Mon Sep 17 00:00:00 2001 From: wtayyeb Date: Thu, 18 Feb 2021 10:44:13 +0330 Subject: [PATCH] fix deployment args, add custom_annotations.auto_search, search_match --- .../chart/reloader/templates/deployment.yaml | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/deployments/kubernetes/chart/reloader/templates/deployment.yaml b/deployments/kubernetes/chart/reloader/templates/deployment.yaml index c2ce956a..87384620 100644 --- a/deployments/kubernetes/chart/reloader/templates/deployment.yaml +++ b/deployments/kubernetes/chart/reloader/templates/deployment.yaml @@ -124,16 +124,24 @@ spec: {{- if .Values.reloader.custom_annotations }} {{- if .Values.reloader.custom_annotations.configmap }} - - "--configmap-annotation" - - "{{ .Values.reloader.custom_annotations.configmap }}" + - "--configmap-annotation" + - "{{ .Values.reloader.custom_annotations.configmap }}" {{- end }} {{- if .Values.reloader.custom_annotations.secret }} - - "--secret-annotation" - - "{{ .Values.reloader.custom_annotations.secret }}" + - "--secret-annotation" + - "{{ .Values.reloader.custom_annotations.secret }}" {{- end }} {{- if .Values.reloader.custom_annotations.auto }} - - "--auto-annotation" - - "{{ .Values.reloader.custom_annotations.auto }}" + - "--auto-annotation" + - "{{ .Values.reloader.custom_annotations.auto }}" + {{- end }} + {{- if .Values.reloader.custom_annotations.auto_search }} + - "--auto-search-annotation" + - "{{ .Values.reloader.custom_annotations.auto_search }}" + {{- end }} + {{- if .Values.reloader.custom_annotations.search_match }} + - "--search-match-annotation" + - "{{ .Values.reloader.custom_annotations.search_match }}" {{- end }} {{- end }} {{- end }}