fix(deployment): avoid duplicated nodeSelector #980

This commit is contained in:
Markus Pesch
2025-11-05 18:31:31 +01:00
parent b0961383ee
commit b88abaa1e7
2 changed files with 21 additions and 3 deletions

View File

@@ -370,9 +370,9 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- range $key, $value := .Values.nodeSelector }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ $key }}: {{ $value | quote }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity: