Skip to content

Commit 517fd33

Browse files
authored
Added pause deployment annotation overrides (#983)
* added pprof flag * updated chart * fixed linting and spelling * custom_annotation for pause deployments related annotaitons
1 parent 1e46d44 commit 517fd33

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

deployments/kubernetes/chart/reloader/templates/deployment.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,14 @@ spec:
263263
{{- if .Values.reloader.custom_annotations.match }}
264264
- "--search-match-annotation"
265265
- "{{ .Values.reloader.custom_annotations.match }}"
266+
{{- end }}
267+
{{- if .Values.reloader.custom_annotations.pausePeriod }}
268+
- "--pause-deployment-annotation"
269+
- "{{ .Values.reloader.custom_annotations.pausePeriod }}"
270+
{{- end }}
271+
{{- if .Values.reloader.custom_annotations.pauseTime }}
272+
- "--pause-deployment-annotation"
273+
- "{{ .Values.reloader.custom_annotations.pauseTime }}"
266274
{{- end }}
267275
{{- if .Values.reloader.webhookUrl }}
268276
- "--webhook-url"

0 commit comments

Comments
 (0)