Skip to content

Commit

Permalink
[FIX] Add terminationGracePeriodSeconds to deployment
Browse files Browse the repository at this point in the history
Since `terminationGracePeriodSeconds` option is defined in the `values.yaml` and used in the `daemonset` resource, it makes sense to add it to the `deployment` resource to make this attribute customizable
  • Loading branch information
maksym-iv authored Apr 29, 2022
1 parent 8706d5d commit 860509d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ spec:
priorityClassName: {{ .Values.controller.priorityClassName }}
{{- end }}
serviceAccountName: {{ include "nginx-ingress.serviceAccountName" . }}
terminationGracePeriodSeconds: {{ .Values.controller.terminationGracePeriodSeconds }}
hostNetwork: {{ .Values.controller.hostNetwork }}
containers:
- image: "{{ .Values.controller.image.repository }}:{{ .Values.controller.image.tag }}"
Expand Down

0 comments on commit 860509d

Please sign in to comment.