Skip to content

Commit

Permalink
fix issue #1887: affinity rules for helm charts (again) (#1973)
Browse files Browse the repository at this point in the history
fix issue #1887: affinity rules

add affinity section to seleniumGrid.podTemplate

Co-authored-by: Diego Molina <[email protected]>
  • Loading branch information
sehaas and diemol authored Oct 16, 2023
1 parent 37fb389 commit eea48b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/selenium-grid/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit eea48b3

Please sign in to comment.