diff --git a/script/helm/garage/templates/workload.yaml b/script/helm/garage/templates/workload.yaml index 4264253e..81c8616f 100644 --- a/script/helm/garage/templates/workload.yaml +++ b/script/helm/garage/templates/workload.yaml @@ -28,6 +28,9 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} serviceAccountName: {{ include "garage.serviceAccountName" . }} + {{- with .Values.priorityClassName }} + priorityClassName: {{ . }} + {{- end }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} initContainers: diff --git a/script/helm/garage/values.yaml b/script/helm/garage/values.yaml index 785aea22..d376c6a7 100644 --- a/script/helm/garage/values.yaml +++ b/script/helm/garage/values.yaml @@ -238,6 +238,10 @@ tolerations: [] affinity: {} +# -- Optional priority class name to assign to the pods. +# See https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/ +priorityClassName: "" + environment: {} extraVolumes: {}