add topologySpreadConstraint to controller
This commit is contained in:
parent
9e4c31e012
commit
4733e7c0eb
4 changed files with 18 additions and 1 deletions
|
|
@ -223,6 +223,9 @@ spec:
|
|||
{{- end }}
|
||||
{{- if .Values.controller.affinity }}
|
||||
affinity: {{ toYaml .Values.controller.affinity | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.controller.topologySpreadConstraints }}
|
||||
topologySpreadConstraints: {{ toYaml .Values.controller.topologySpreadConstraints | nindent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ template "ingress-nginx.serviceAccountName" . }}
|
||||
terminationGracePeriodSeconds: {{ .Values.controller.terminationGracePeriodSeconds }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue