Skip to content

Commit

Permalink
fix(templates): update csi driver templates with priorityclass
Browse files Browse the repository at this point in the history
Signed-off-by: prateekpandey14 <[email protected]>
  • Loading branch information
prateekpandey14 authored and kmova committed Aug 30, 2021
1 parent fefbc5b commit 16f14c3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/helm/charts/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: zfs-localpv
description: Helm chart for CSI Driver for dynamic provisioning of ZFS Persistent Local Volumes. For instructions on how to use this helm chart, see - https://openebs.github.io/zfs-localpv/
version: 1.9.3
version: 1.9.4
appVersion: 1.9.1
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png
home: http://www.openebs.io/
Expand Down
4 changes: 3 additions & 1 deletion deploy/helm/charts/templates/zfs-contoller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ spec:
values:
- openebs-zfs-controller
topologyKey: "kubernetes.io/hostname"
priorityClassName: system-cluster-critical
{{- if .Values.zfsController.priorityClass.create }}
priorityClassName: {{ template "zfslocalpv.zfsController.priorityClassName" . }}
{{- end }}
serviceAccount: {{ .Values.serviceAccount.zfsController.name }}
containers:
- name: {{ .Values.zfsController.resizer.name }}
Expand Down
4 changes: 3 additions & 1 deletion deploy/helm/charts/templates/zfs-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ spec:
{{ toYaml . | nindent 8 }}
{{- end}}
spec:
priorityClassName: system-node-critical
{{- if .Values.zfsNode.priorityClass.create }}
priorityClassName: {{ template "zfslocalpv.zfsNode.priorityClassName" . }}
{{- end }}
serviceAccount: {{ .Values.serviceAccount.zfsNode.name }}
hostNetwork: true
containers:
Expand Down

0 comments on commit 16f14c3

Please sign in to comment.