Support for configuring affinity for helm executor (#1989)

(cherry picked from commit e389253a4e)
This commit is contained in:
Xinzhao Xu
2024-10-24 15:12:01 +08:00
committed by hongming
parent 0cf715a89a
commit 811cc0290e
5 changed files with 29 additions and 0 deletions

View File

@@ -46,6 +46,9 @@ data:
{{- if .Values.helmExecutor.resources }}
resources: {{- toYaml .Values.helmExecutor.resources | nindent 8 }}
{{- end }}
{{- if .Values.helmExecutor.affinity }}
affinity: {{- toYaml .Values.helmExecutor.affinity | nindent 8 }}
{{- end }}
extension:
imageRegistry: {{ default .Values.extension.imageRegistry "" | quote }}
{{- if .Values.extension.nodeSelector }}