From de7e0a0a5101b40466bc7a6d04d731338bd5df18 Mon Sep 17 00:00:00 2001 From: Brandon High Date: Tue, 28 Jul 2026 19:17:48 +0000 Subject: [PATCH] fix(chart): render pod affinity --- charts/factorio-server-charts/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/factorio-server-charts/templates/deployment.yaml b/charts/factorio-server-charts/templates/deployment.yaml index ed852af..433ea22 100644 --- a/charts/factorio-server-charts/templates/deployment.yaml +++ b/charts/factorio-server-charts/templates/deployment.yaml @@ -255,6 +255,10 @@ spec: {{- if .Values.additionalContainers }} {{ toYaml .Values.additionalContainers | indent 6 }} {{- end }} +{{- if .Values.affinity }} + affinity: +{{ toYaml .Values.affinity | indent 8 }} +{{- end }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 8 }}