mirror of
https://github.com/kharonsec/garage.git
synced 2026-04-25 20:44:55 +02:00
helm: add priorityClassName support to pod spec
This commit is contained in:
committed by
blue.lion4023
parent
d0166fe938
commit
8105ca888d
@@ -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:
|
||||||
|
|||||||
@@ -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: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user