Skip to content

Commit b1a52fe

Browse files
authored
Merge pull request #124 from JoshVanL/helm-priorityClassName
Adds priorityClassName option to helm chart
2 parents cfb2f92 + 02c6aa3 commit b1a52fe

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

deploy/charts/csi-driver/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ A Helm chart for cert-manager-csi-driver
3939
| nodeDriverRegistrarImage.repository | string | `"k8s.gcr.io/sig-storage/csi-node-driver-registrar"` | Target image repository. |
4040
| nodeDriverRegistrarImage.tag | string | `"v2.5.0"` | Target image version tag. |
4141
| nodeSelector | object | `{}` | |
42+
| priorityClassName | string | `""` | Optional priority class to be used for the csi-driver pods. |
4243
| resources | object | `{}` | |
4344
| tolerations | list | `[]` | |
4445

deploy/charts/csi-driver/templates/daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ spec:
100100
tolerations:
101101
{{- toYaml .Values.tolerations | nindent 8 }}
102102

103+
{{- with .Values.priorityClassName }}
104+
priorityClassName: {{ . | quote }}
105+
{{- end }}
106+
103107
volumes:
104108
- name: plugin-dir
105109
hostPath:

deploy/charts/csi-driver/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ image:
99
# -- Optional secrets used for pulling the csi-driver container image
1010
imagePullSecrets: []
1111
#- name: Secret with Registry credentials
12-
12+
1313
nodeDriverRegistrarImage:
1414
# -- Target image repository.
1515
repository: k8s.gcr.io/sig-storage/csi-node-driver-registrar
@@ -65,3 +65,6 @@ tolerations: []
6565
# -- Kubernetes pod tolerations for cert-manager-csi-driver
6666
# Allow scheduling of DaemonSet on all nodes
6767
# - operator: "Exists"
68+
69+
# -- Optional priority class to be used for the csi-driver pods.
70+
priorityClassName: ""

0 commit comments

Comments
 (0)