helm: add priorityClassName support to pod spec

This commit is contained in:
blue.lion4023
2026-02-21 00:29:03 +03:00
committed by blue.lion4023
parent d0166fe938
commit 8105ca888d
2 changed files with 7 additions and 0 deletions

View File

@@ -28,6 +28,9 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
serviceAccountName: {{ include "garage.serviceAccountName" . }} serviceAccountName: {{ include "garage.serviceAccountName" . }}
{{- with .Values.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers: initContainers:

View File

@@ -238,6 +238,10 @@ tolerations: []
affinity: {} affinity: {}
# -- Optional priority class name to assign to the pods.
# See https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
priorityClassName: ""
environment: {} environment: {}
extraVolumes: {} extraVolumes: {}