Skip to content

Commit 249bb44

Browse files
committed
charts: add ability to specify priorityClassName
1 parent 31348ec commit 249bb44

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

charts/headlamp/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,9 @@ spec:
387387
tolerations:
388388
{{- toYaml . | nindent 8 }}
389389
{{- end }}
390+
{{- with .Values.priorityClassName }}
391+
priorityClassName: {{ . | quote }}
392+
{{- end }}
390393
{{- if or .Values.pluginsManager.enabled .Values.volumes }}
391394
volumes:
392395
{{- if .Values.pluginsManager.enabled }}

charts/headlamp/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@ tolerations: []
263263
# -- Affinity settings for pod assignment
264264
affinity: {}
265265

266+
# -- Pod priority class
267+
priorityClassName: ""
268+
266269
# Plugin Manager Sidecar Container Configuration
267270
pluginsManager:
268271
# -- Enable plugin manager

0 commit comments

Comments
 (0)