From 7a5a2942a22621a7e25f1f12f71b371da14a2fce Mon Sep 17 00:00:00 2001 From: Sebastian Haas Date: Thu, 12 Oct 2023 23:51:10 +0200 Subject: [PATCH] fix issue #1887: affinity rules add affinity section to seleniumGrid.podTemplate --- 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 }}