Skip to content

Commit

Permalink
feat(CN-2520): Backport Sidecar 2.x to support priority class (#458)
Browse files Browse the repository at this point in the history
Co-authored-by: will.hearn <[email protected]>
  • Loading branch information
sylus and statcan-svc authored Nov 30, 2023
1 parent 525b9c7 commit dda6a2b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/sidecar-terminator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions stable/sidecar-terminator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions stable/sidecar-terminator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down

0 comments on commit dda6a2b

Please sign in to comment.