Skip to content

Commit 7a5a294

Browse files
committed
fix issue SeleniumHQ#1887: affinity rules
add affinity section to seleniumGrid.podTemplate
1 parent 69d9349 commit 7a5a294

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

charts/selenium-grid/templates/_helpers.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ template:
175175
{{- with .node.nodeSelector }}
176176
nodeSelector: {{- toYaml . | nindent 6 }}
177177
{{- end }}
178+
{{- with .node.affinity }}
179+
affinity: {{- toYaml . | nindent 6 }}
180+
{{- end }}
178181
{{- with .node.tolerations }}
179182
tolerations:
180183
{{ toYaml . | nindent 4 }}

0 commit comments

Comments
 (0)