From 9c949efce6d98f16bdb084734b5f7f5c462e4e70 Mon Sep 17 00:00:00 2001 From: Seandon Mooy Date: Mon, 24 Jul 2023 12:24:37 -0700 Subject: [PATCH] Add minReadySeconds and terminationGracePeriodSeconds overrides --- imgproxy/templates/deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/imgproxy/templates/deployment.yaml b/imgproxy/templates/deployment.yaml index 1f060a5..617903d 100644 --- a/imgproxy/templates/deployment.yaml +++ b/imgproxy/templates/deployment.yaml @@ -24,6 +24,9 @@ spec: {{- if (eq $minCount $maxCount) }} replicas: {{ $replicaCount | default 1 | int }} {{- end }} + {{- if .Values.resources.deployment.minReadySeconds }} + minReadySeconds: {{ .Values.resources.deployment.minReadySeconds }} + {{- end }} selector: matchLabels: app: {{ template "imgproxy.fullname" $ }} @@ -86,6 +89,9 @@ spec: {{- end }} {{- end }} {{- end }} + {{- if .Values.resources.deployment.terminationGracePeriodSeconds }} + terminationGracePeriodSeconds: {{ .Values.resources.deployment.terminationGracePeriodSeconds }} + {{- end }} containers: - name: "imgproxy" image: "{{ .Values.image.repo }}:{{ .Values.image.tag }}"