Skip to content

Commit e35f3aa

Browse files
Add pod priority class to helm chart and icon (#1594)
1 parent 6023b65 commit e35f3aa

13 files changed

+115
-45
lines changed

charts/selenium-grid/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to this helm chart will be documented in this file.
44

5+
## :heavy_check_mark: 0.6.2
6+
7+
### Added
8+
- Pod PriorityClasses
9+
510
## :heavy_check_mark: 0.6.1
611

712
### Changed

charts/selenium-grid/Chart.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ apiVersion: v2
22
name: selenium-grid
33
description: A Helm chart for creating a Selenium Grid Server in Kubernetes
44
type: application
5-
version: 0.6.1
5+
version: 0.6.2
66
appVersion: 4.3.0-20220628
7+
icon: https://github.com/SeleniumHQ/docker-selenium/raw/trunk/logo.png

charts/selenium-grid/README.md

Lines changed: 32 additions & 13 deletions
Large diffs are not rendered by default.

charts/selenium-grid/templates/chrome-node-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ spec:
6767
{{- with .Values.chromeNode.tolerations }}
6868
tolerations:
6969
{{ toYaml . | nindent 6 }}
70+
{{- end }}
71+
{{- with .Values.chromeNode.priorityClassName }}
72+
priorityClassName: {{ . }}
7073
{{- end }}
7174
volumes:
7275
- name: dshm

charts/selenium-grid/templates/distributor-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,7 @@ spec:
5959
tolerations:
6060
{{ toYaml . | nindent 6 }}
6161
{{- end }}
62+
{{- with .Values.components.distributor.priorityClassName }}
63+
priorityClassName: {{ . }}
64+
{{- end }}
6265
{{- end }}

charts/selenium-grid/templates/edge-node-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ spec:
6767
{{- with .Values.edgeNode.tolerations }}
6868
tolerations:
6969
{{ toYaml . | nindent 6 }}
70+
{{- end }}
71+
{{- with .Values.edgeNode.priorityClassName }}
72+
priorityClassName: {{ . }}
7073
{{- end }}
7174
volumes:
7275
- name: dshm

charts/selenium-grid/templates/event-bus-deployment.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ spec:
3838
{{- with .Values.components.extraEnvironmentVariables }}
3939
env: {{- tpl (toYaml .) $ | nindent 12 }}
4040
{{- end }}
41+
{{- with .Values.components.extraEnvFrom }}
4142
envFrom:
42-
{{- with .Values.components.extraEnvFrom }}
4343
{{- toYaml . | nindent 12 }}
44-
{{- end }}
44+
{{- end }}
4545
{{- with .Values.components.eventBus.resources }}
4646
resources: {{- toYaml . | nindent 12 }}
4747
{{- end }}
@@ -52,4 +52,7 @@ spec:
5252
tolerations:
5353
{{ toYaml . | nindent 6 }}
5454
{{- end }}
55+
{{- with .Values.components.eventBus.priorityClassName }}
56+
priorityClassName: {{ . }}
57+
{{- end }}
5558
{{- end }}

charts/selenium-grid/templates/firefox-node-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ spec:
6767
{{- with .Values.firefoxNode.tolerations }}
6868
tolerations:
6969
{{ toYaml . | nindent 6 }}
70+
{{- end }}
71+
{{- with .Values.firefoxNode.priorityClassName }}
72+
priorityClassName: {{ . }}
7073
{{- end }}
7174
volumes:
7275
- name: dshm

charts/selenium-grid/templates/hub-deployment.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ spec:
6363
{{- with .Values.hub.extraEnvironmentVariables }}
6464
env: {{- tpl (toYaml .) $ | nindent 12 }}
6565
{{- end }}
66+
{{- with .Values.hub.extraEnvFrom }}
6667
envFrom:
67-
{{- with .Values.hub.extraEnvFrom }}
6868
{{- toYaml . | nindent 12 }}
69-
{{- end }}
69+
{{- end }}
7070
{{- with .Values.hub.resources }}
7171
resources: {{- toYaml . | nindent 12 }}
7272
{{- end }}
@@ -77,4 +77,7 @@ spec:
7777
tolerations:
7878
{{ toYaml . | nindent 6 }}
7979
{{- end }}
80+
{{- with .Values.hub.priorityClassName }}
81+
priorityClassName: {{ . }}
82+
{{- end }}
8083
{{- end }}

charts/selenium-grid/templates/router-deployment.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ spec:
4444
{{- with .Values.components.extraEnvironmentVariables }}
4545
{{- tpl (toYaml .) $ | nindent 12 }}
4646
{{- end }}
47+
{{- with .Values.components.extraEnvFrom }}
4748
envFrom:
48-
{{- with .Values.components.extraEnvFrom }}
4949
{{- toYaml . | nindent 12 }}
50-
{{- end }}
50+
{{- end }}
5151
ports:
5252
- containerPort: {{ .Values.components.router.port }}
5353
protocol: TCP
@@ -83,4 +83,7 @@ spec:
8383
tolerations:
8484
{{ toYaml . | nindent 6 }}
8585
{{- end }}
86+
{{- with .Values.components.router.priorityClassName }}
87+
priorityClassName: {{ . }}
88+
{{- end }}
8689
{{- end }}

0 commit comments

Comments
 (0)