Skip to content

Commit

Permalink
feat: added priority class name to provisioner
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzmitry Astrouski authored and Dzmitry Astrouski committed Aug 14, 2024
1 parent 80dcfa4 commit 68b7b2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/helm/csi-s3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ The following table lists all configuration parameters and their default values.
| `tolerations.all` | Tolerate all taints by the CSI-S3 node driver (mounter) | false |
| `tolerations.node` | Custom tolerations for the CSI-S3 node driver (mounter) | [] |
| `tolerations.controller` | Custom tolerations for the CSI-S3 controller (provisioner) | [] |
| `nodeSelector` | Specifies node labels to assign pods to nodes | {} |
| `priorityClassName` | Specifies PriorityClass name to create pods with one of them | |
3 changes: 3 additions & 0 deletions deploy/helm/csi-s3/templates/provisioner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{ { - if .Values.priorityClassName } }
priorityClassName: { { .Values.priorityClassName } }
{ { - end } }
containers:
- name: csi-provisioner
image: {{ .Values.images.provisioner }}
Expand Down
2 changes: 2 additions & 0 deletions deploy/helm/csi-s3/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ tolerations:

nodeSelector: {}

priorityClassName: ""

kubeletPath: /var/lib/kubelet

0 comments on commit 68b7b2c

Please sign in to comment.