Skip to content

Commit

Permalink
feat(CN-2228): Add support for PriorityClass field: cnp-controller (#444
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 Aug 8, 2023
1 parent cae1833 commit be4c12a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/cnp-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.1
version: 0.0.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ spec:
serviceAccountName: {{ include "cnp-controller.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down
3 changes: 3 additions & 0 deletions stable/cnp-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ podLabels: {}
podSecurityContext: {}
# fsGroup: 2000

## PriorityClassName indicates the Pod priority and hence importance of a Pod relative to other Pods.
priorityClassName: ""

securityContext: {}
# capabilities:
# drop:
Expand Down

0 comments on commit be4c12a

Please sign in to comment.