|
|
@@ -100,19 +100,19 @@ spec:
|
|
|
{{- if .Values.webhook.extraVolumes }}
|
|
|
{{- toYaml .Values.webhook.extraVolumes | nindent 8 }}
|
|
|
{{- end }}
|
|
|
- {{- with .Values.webhook.nodeSelector }}
|
|
|
+ {{- with .Values.webhook.nodeSelector | default .Values.global.nodeSelector }}
|
|
|
nodeSelector:
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
{{- end }}
|
|
|
- {{- with .Values.webhook.affinity }}
|
|
|
+ {{- with .Values.webhook.affinity | default .Values.global.affinity }}
|
|
|
affinity:
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
{{- end }}
|
|
|
- {{- with .Values.webhook.tolerations }}
|
|
|
+ {{- with .Values.webhook.tolerations | default .Values.global.tolerations }}
|
|
|
tolerations:
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
{{- end }}
|
|
|
- {{- with .Values.webhook.topologySpreadConstraints }}
|
|
|
+ {{- with .Values.webhook.topologySpreadConstraints | default .Values.global.topologySpreadConstraints }}
|
|
|
topologySpreadConstraints:
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
{{- end }}
|