Skip to content

Commit

Permalink
Add minReadySeconds and terminationGracePeriodSeconds overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
erulabs authored Jul 24, 2023
1 parent 150b536 commit 9c949ef
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 9c949ef

Please sign in to comment.