Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(CN-2520): Backport Sidecar 2.x to support priority class #458

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading