From eea48b3e5a893073c759eb49ed3d2769d17dda52 Mon Sep 17 00:00:00 2001 From: sebastian haas Date: Mon, 16 Oct 2023 21:28:37 +0200 Subject: [PATCH] fix issue #1887: affinity rules for helm charts (again) (#1973) fix issue #1887: affinity rules add affinity section to seleniumGrid.podTemplate Co-authored-by: Diego Molina --- charts/selenium-grid/templates/_helpers.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/selenium-grid/templates/_helpers.tpl b/charts/selenium-grid/templates/_helpers.tpl index 694b7a5c9..28eb06224 100644 --- a/charts/selenium-grid/templates/_helpers.tpl +++ b/charts/selenium-grid/templates/_helpers.tpl @@ -175,6 +175,9 @@ template: {{- with .node.nodeSelector }} nodeSelector: {{- toYaml . | nindent 6 }} {{- end }} + {{- with .node.affinity }} + affinity: {{- toYaml . | nindent 6 }} + {{- end }} {{- with .node.tolerations }} tolerations: {{ toYaml . | nindent 4 }}