Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/charts/rawfile-csi/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: rawfile-csi
description: RawFile Driver Container Storage Interface
type: application
version: 0.9.0
version: 0.9.1
appVersion: 0.8.2
8 changes: 6 additions & 2 deletions deploy/charts/rawfile-csi/templates/01-node-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ spec:
spec:
serviceAccount: {{ include "rawfile-csi.fullname" . }}-driver
priorityClassName: system-node-critical
{{- if .Values.node.nodeSelector }}
nodeSelector:
{{- toYaml .Values.node.nodeSelector | nindent 8 }}
{{- end }}
tolerations:
- operator: "Exists"
volumes:
Expand All @@ -43,7 +47,7 @@ spec:
type: Directory
- name: socket-dir
hostPath:
path: /var/lib/kubelet/plugins/rawfile-csi
path: /var/lib/kubelet/plugins/{{ include "rawfile-csi.fullname" . }}
type: DirectoryOrCreate
- name: mountpoint-dir
hostPath:
Expand Down Expand Up @@ -101,7 +105,7 @@ spec:
- name: ADDRESS
value: /csi/csi.sock
- name: DRIVER_REG_SOCK_PATH
value: /var/lib/kubelet/plugins/rawfile-csi/csi.sock
value: /var/lib/kubelet/plugins/{{ include "rawfile-csi.fullname" . }}/csi.sock
ports:
- containerPort: 9809
name: healthz
Expand Down
2 changes: 1 addition & 1 deletion deploy/charts/rawfile-csi/templates/02-storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: {{ .Values.storageClass.name }}
annotations:
storageclass.kubernetes.io/is-default-class: {{ .Values.storageClass.isDefault | quote }}
provisioner: rawfile.csi.openebs.io
provisioner: {{ .Values.provisionerName }}
reclaimPolicy: {{ .Values.storageClass.reclaimPolicy }}
volumeBindingMode: {{ .Values.storageClass.volumeBindingMode }}
allowVolumeExpansion: true
Expand Down
2 changes: 2 additions & 0 deletions deploy/charts/rawfile-csi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ node:
path: /var/csi/rawfile
metrics:
enabled: false
# nodeSelector:
# - storagePool: "pool1"

storageClass:
enabled: false
Expand Down
Loading