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 }}"