Skip to content

Commit

Permalink
feat(CN-2228): Add support for PriorityClass field: cnp-controller (#447
Browse files Browse the repository at this point in the history
)

Co-authored-by: will.hearn <will.hearn@cloud.statcan.ca>
  • Loading branch information
sylus and sylus authored Aug 17, 2023
1 parent 233d487 commit c889b5a
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: "2.0.0"
description: |-
A chart used for easily configuring kubernetes-sidecar-terminator in a cluster.
name: sidecar-terminator
version: 1.3.0
version: 1.3.1
keywords:
- sidecar terminator
- ephemeral containers
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 @@ -27,6 +27,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "sidecar-terminator.fullname" . }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
containers:
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
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 @@ -20,6 +20,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 c889b5a

Please sign in to comment.