Skip to content

Commit

Permalink
Merge pull request #140 from erulabs/patch-2
Browse files Browse the repository at this point in the history
Add minReadySeconds and terminationGracePeriodSeconds overrides
  • Loading branch information
nepalez authored Jul 25, 2023
2 parents f2ad7c7 + 9c949ef commit 01405d1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions imgproxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" $ }}
Expand Down Expand Up @@ -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 }}"
Expand Down

0 comments on commit 01405d1

Please sign in to comment.