fix(templates): update csi driver templates with priorityclass

Signed-off-by: prateekpandey14 <prateek.pandey@mayadata.io>
This commit is contained in:
prateekpandey14 2021-08-30 11:48:45 +05:30 committed by Kiran Mova
parent fefbc5b30a
commit 16f14c33ec
3 changed files with 7 additions and 3 deletions

View file

@ -1,7 +1,7 @@
apiVersion: v2 apiVersion: v2
name: zfs-localpv 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/ 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 appVersion: 1.9.1
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png
home: http://www.openebs.io/ home: http://www.openebs.io/

View file

@ -34,7 +34,9 @@ spec:
values: values:
- openebs-zfs-controller - openebs-zfs-controller
topologyKey: "kubernetes.io/hostname" topologyKey: "kubernetes.io/hostname"
priorityClassName: system-cluster-critical {{- if .Values.zfsController.priorityClass.create }}
priorityClassName: {{ template "zfslocalpv.zfsController.priorityClassName" . }}
{{- end }}
serviceAccount: {{ .Values.serviceAccount.zfsController.name }} serviceAccount: {{ .Values.serviceAccount.zfsController.name }}
containers: containers:
- name: {{ .Values.zfsController.resizer.name }} - name: {{ .Values.zfsController.resizer.name }}

View file

@ -26,7 +26,9 @@ spec:
{{ toYaml . | nindent 8 }} {{ toYaml . | nindent 8 }}
{{- end}} {{- end}}
spec: spec:
priorityClassName: system-node-critical {{- if .Values.zfsNode.priorityClass.create }}
priorityClassName: {{ template "zfslocalpv.zfsNode.priorityClassName" . }}
{{- end }}
serviceAccount: {{ .Values.serviceAccount.zfsNode.name }} serviceAccount: {{ .Values.serviceAccount.zfsNode.name }}
hostNetwork: true hostNetwork: true
containers: containers: