diff --git a/stable/sidecar-terminator/Chart.yaml b/stable/sidecar-terminator/Chart.yaml index ba9c7b3d..735ad939 100644 --- a/stable/sidecar-terminator/Chart.yaml +++ b/stable/sidecar-terminator/Chart.yaml @@ -3,7 +3,7 @@ appVersion: "1.0.0" description: |- A chart used for easily configuring kubernetes-sidecar-terminator in a cluster. name: sidecar-terminator -version: 1.2.0 +version: 1.2.1 keywords: - sidecar-terminator sources: diff --git a/stable/sidecar-terminator/templates/deployment.yaml b/stable/sidecar-terminator/templates/deployment.yaml index ff0b194f..d294512e 100644 --- a/stable/sidecar-terminator/templates/deployment.yaml +++ b/stable/sidecar-terminator/templates/deployment.yaml @@ -20,6 +20,9 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} serviceAccountName: {{ include "sidecar-terminator.fullname" . }} + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName }} + {{- end }} containers: - image: {{ .Values.image.repository }} name: sidecar-terminator diff --git a/stable/sidecar-terminator/values.yaml b/stable/sidecar-terminator/values.yaml index 6bc886e3..817a3ccf 100644 --- a/stable/sidecar-terminator/values.yaml +++ b/stable/sidecar-terminator/values.yaml @@ -15,6 +15,9 @@ imagePullSecrets: {} nameOverride: "" fullnameOverride: "" +## PriorityClassName indicates the Pod priority and hence importance of a Pod relative to other Pods. +priorityClassName: "" + serviceAccount: # Annotations to add to the service account annotations: {}