add node selector for standalone deployment (#1368)

This commit is contained in:
majinghe
2026-01-04 20:49:58 +08:00
committed by GitHub
parent f5f6ea4a5c
commit 486a4b58e6

View File

@@ -25,6 +25,10 @@ spec:
imagePullSecrets:
{{- . | nindent 8 }}
{{- end }}
{{- if and .Values.nodeSelector (not .Values.affinity.nodeAffinity) }}
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.affinity }}
affinity:
{{- if .Values.affinity.nodeAffinity }}