diff --git a/deploy/charts/rawfile-csi/Chart.yaml b/deploy/charts/rawfile-csi/Chart.yaml index 3896e28..5abf7bc 100644 --- a/deploy/charts/rawfile-csi/Chart.yaml +++ b/deploy/charts/rawfile-csi/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: rawfile-csi description: RawFile Driver Container Storage Interface type: application -version: 0.8.0 +version: 1.0.0 appVersion: 0.8.0 diff --git a/deploy/charts/rawfile-csi/templates/01-controller-plugin.yaml b/deploy/charts/rawfile-csi/templates/01-controller-plugin.yaml index ff8b6c5..6a0678e 100644 --- a/deploy/charts/rawfile-csi/templates/01-controller-plugin.yaml +++ b/deploy/charts/rawfile-csi/templates/01-controller-plugin.yaml @@ -69,7 +69,7 @@ spec: resources: {{- toYaml .Values.controller.resources | nindent 12 }} - name: external-resizer - image: k8s.gcr.io/sig-storage/csi-resizer:v1.7.0 + image: {{ .Values.csiImages.repository }}/{{ .Values.csiImages.csiResizer.image }}:{{ .Values.csiImages.csiResizer.tag }} imagePullPolicy: IfNotPresent args: - "--csi-address=$(ADDRESS)" diff --git a/deploy/charts/rawfile-csi/templates/01-node-plugin.yaml b/deploy/charts/rawfile-csi/templates/01-node-plugin.yaml index 1ed9058..14a888e 100644 --- a/deploy/charts/rawfile-csi/templates/01-node-plugin.yaml +++ b/deploy/charts/rawfile-csi/templates/01-node-plugin.yaml @@ -91,7 +91,7 @@ spec: resources: {{- toYaml .Values.node.resources | nindent 12 }} - name: node-driver-registrar - image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.10.0 + image: {{ .Values.csiImages.repository }}/{{ .Values.csiImages.nodeDriverRegistrar.image }}:{{ .Values.csiImages.nodeDriverRegistrar.tag }} imagePullPolicy: IfNotPresent args: - --csi-address=$(ADDRESS) @@ -124,7 +124,7 @@ spec: cpu: 10m memory: 100Mi - name: external-provisioner - image: k8s.gcr.io/sig-storage/csi-provisioner:v3.4.1 + image: {{ .Values.csiImages.repository }}/{{ .Values.csiImages.csiProvisioner.image }}:{{ .Values.csiImages.csiProvisioner.tag }} imagePullPolicy: IfNotPresent args: - "--csi-address=$(ADDRESS)" @@ -154,7 +154,7 @@ spec: - name: socket-dir mountPath: /csi - name: external-snapshotter - image: k8s.gcr.io/sig-storage/csi-snapshotter:v6.2.1 + image: {{ .Values.csiImages.repository }}/{{ .Values.csiImages.csiSnapshotter.image }}:{{ .Values.csiImages.csiSnapshotter.tag }} imagePullPolicy: IfNotPresent args: - "--csi-address=$(ADDRESS)" diff --git a/deploy/charts/rawfile-csi/templates/02-storageclass.yaml b/deploy/charts/rawfile-csi/templates/02-storageclass.yaml index 77b4790..dee772a 100644 --- a/deploy/charts/rawfile-csi/templates/02-storageclass.yaml +++ b/deploy/charts/rawfile-csi/templates/02-storageclass.yaml @@ -4,9 +4,9 @@ kind: StorageClass metadata: name: {{ .Values.storageClass.name }} annotations: - storageclass.kubernetes.io/is-default-class: {{ .Values.storageClass.isDefault }} + storageclass.kubernetes.io/is-default-class: {{ .Values.storageClass.isDefault | quote }} provisioner: rawfile.csi.openebs.io reclaimPolicy: {{ .Values.storageClass.reclaimPolicy }} volumeBindingMode: {{ .Values.storageClass.volumeBindingMode }} allowVolumeExpansion: true -{{- end }} \ No newline at end of file +{{- end }} diff --git a/deploy/charts/rawfile-csi/values.yaml b/deploy/charts/rawfile-csi/values.yaml index 87800e7..72c6b1c 100644 --- a/deploy/charts/rawfile-csi/values.yaml +++ b/deploy/charts/rawfile-csi/values.yaml @@ -19,6 +19,21 @@ controller: - csi-driver - --disable-metrics +csiImages: + repository: registry.k8s.io/sig-storage + csiProvisioner: + image: csi-provisioner + tag: v5.0.1 + csiResizer: + image: csi-resizer + tag: v1.11.1 + csiSnapshotter: + image: csi-snapshotter + tag: v8.0.1 + nodeDriverRegistrar: + image: csi-node-driver-registrar + tag: v2.10.1 + node: <<: *defaults storage: