Skip to content

Commit 4c40311

Browse files
authored
Merge pull request #5046 from mkhpalm/fix-chart-nodeaffinity
fix(chart): regression with affinity.nodeAffinity getting ignored
2 parents 024158c + 247aac7 commit 4c40311

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

charts/external-dns/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@ spec:
204204
{{- end }}
205205
{{- with .Values.affinity }}
206206
affinity:
207+
{{- with .nodeAffinity }}
208+
nodeAffinity:
209+
{{- toYaml . | nindent 10 }}
210+
{{- end }}
207211
{{- with .podAffinity }}
208212
podAffinity:
209213
{{- with .preferredDuringSchedulingIgnoredDuringExecution }}

0 commit comments

Comments
 (0)