diff --git a/charts/harvester-csi-driver/Chart.yaml b/charts/harvester-csi-driver/Chart.yaml index bc495e61..5545ff4a 100644 --- a/charts/harvester-csi-driver/Chart.yaml +++ b/charts/harvester-csi-driver/Chart.yaml @@ -18,12 +18,12 @@ keywords: # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.18 +version: 0.1.19 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: v0.1.7 +appVersion: "v0.2.0" maintainers: - name: harvester diff --git a/charts/harvester-csi-driver/templates/daemonset.yaml b/charts/harvester-csi-driver/templates/daemonset.yaml index e995ee65..6ccb3203 100644 --- a/charts/harvester-csi-driver/templates/daemonset.yaml +++ b/charts/harvester-csi-driver/templates/daemonset.yaml @@ -46,6 +46,9 @@ spec: - --nodeid=$(NODE_ID) - --endpoint=$(CSI_ENDPOINT) - --kubeconfig=/var/lib/harvester/cloud-provider-config + {{- if .Values.hostStorageClass }} + - --host-storage-class={{ .Values.hostStorageClass }} + {{- end }} env: - name: NODE_ID valueFrom: diff --git a/charts/harvester-csi-driver/values.yaml b/charts/harvester-csi-driver/values.yaml index f339092c..bfc2dbf9 100644 --- a/charts/harvester-csi-driver/values.yaml +++ b/charts/harvester-csi-driver/values.yaml @@ -7,7 +7,7 @@ image: csiDriver: repository: rancher/harvester-csi-driver # Overrides the image tag whose default is the chart appVersion. - tag: "v0.1.7" + tag: "v0.2.0" csi: nodeDriverRegistrar: repository: rancher/mirrored-longhornio-csi-node-driver-registrar @@ -26,6 +26,8 @@ image: nameOverride: "" fullnameOverride: "" +# This field can be used to specify the corresponding StorageClass on the host cluster. +hostStorageClass: "" kubeletRootDir: /var/lib/kubelet cloudConfig: secretName: ""