From 5325026c3ddfadeb7e7a86edd16c435f12b68e29 Mon Sep 17 00:00:00 2001 From: Mateo Florido <32885896+mateoflorido@users.noreply.github.com> Date: Fri, 21 Jun 2024 13:23:11 -0500 Subject: [PATCH] Add config values for CSI images (#12) Add values for configuring the CSI images in the chart --- deploy/charts/rawfile-csi/Chart.yaml | 2 +- deploy/charts/rawfile-csi/rawfile-csi-0.9.0.tgz | Bin 0 -> 3943 bytes .../templates/01-controller-plugin.yaml | 2 +- .../rawfile-csi/templates/01-node-plugin.yaml | 6 +++--- .../rawfile-csi/templates/02-storageclass.yaml | 2 +- deploy/charts/rawfile-csi/values.yaml | 6 ++++++ 6 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 deploy/charts/rawfile-csi/rawfile-csi-0.9.0.tgz diff --git a/deploy/charts/rawfile-csi/Chart.yaml b/deploy/charts/rawfile-csi/Chart.yaml index fc0c41d..7c55dce 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.2 +version: 0.9.0 appVersion: 0.8.0 diff --git a/deploy/charts/rawfile-csi/rawfile-csi-0.9.0.tgz b/deploy/charts/rawfile-csi/rawfile-csi-0.9.0.tgz new file mode 100644 index 0000000000000000000000000000000000000000..aa711bfd066452b58d3635743d3f92dab286d68e GIT binary patch literal 3943 zcmV-t518;DiwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PH+#bK5wQ`OIH|V`jH9xgkaQl|;4v;I*8bYd5yb%4Tb8Yt99c zEeT@~U;t3ICh`6DD?BKX6!owz+nKEKA(2U-(P;D=O$dB7AQXaFlGfn}3l&aqN?&ZW zMNt&(?d+KUqbREXA8oaFUbJ`iws*I;qOH9*FQWGLPPF|3MVm#Vx#dz}@glnST=m8M zK^o4;XAqKb);V(K)_)Pbi?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*dVK1qS8Iq(mq(u_B=$mP7fKeL9rQkwhV<5BPI;BfPE7ZG+iE%s@4yHC3hv-ZmT z53A?qq`q2jRJ3JMU;4cMX{3G?^A{p`tppBiiCs{T_y?Ah=Oc}#wlM$i(qpN;jo@BK z0ITkQiFW7m|9jid`Ts|0wMvBQ9TcIvfI{oBa%}CGg0Nv2a{*k2F;83d;{yleiBA!V zlrONv#JR2zHk(WPJ72y0Xm;O5Nz>OzRP?dB{x{w?>E;gdM?lk1j#}{u3v-Xi)Oz;j zQ|P8%w$Mt!;!@gW`FA&Z)A{yN0_Ulj^|@`lEztj4LHR@MdmaF%*W0H1|1cfv!s7VIhzm0zrdahr95*QFxb3Lq67tDGXc?|7^v*yHYnzzR(oQ^>Vk^uUq zxt_&nZ`=GNX)hlP$TjiHdkTjO71{u`SVax%dPgp zT3Wft>SU3Ys&)%)QWDk7#j900gP#|{W95~W^g{vJFK+u>3&5NXcxoGdpH}w&LM^>y z$hd%w&ao=~+ug3`|F-wqd(ZygW3-p(3@ZhKNiENI^U>7^80zPQ>aYZ5IKDK88{SLw zN&7l7&&k|UrL4Jq&2L=<7eU$nD>6&Zs`sFj{$mUu4_16v`2US$FX5`D&k@LZzf z?veDuOz__zR$fRFz%AQd@ZY>}EMuNP>kq9Mp4)SKZa;kc{{R30|NmO(Ld*bW008fK B%Z>m5 literal 0 HcmV?d00001 diff --git a/deploy/charts/rawfile-csi/templates/01-controller-plugin.yaml b/deploy/charts/rawfile-csi/templates/01-controller-plugin.yaml index b021c62..84a4ead 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: ghcr.io/canonical/sig-storage/csi-resizer:v1.7.0 + image: {{ .Values.images.csiResizer }} 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 d360090..5044217 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: ghcr.io/canonical/sig-storage/csi-node-driver-registrar:v2.10.0 + image: {{ .Values.images.nodeDriverRegistrar }} imagePullPolicy: IfNotPresent args: - --csi-address=$(ADDRESS) @@ -124,7 +124,7 @@ spec: cpu: 10m memory: 100Mi - name: external-provisioner - image: ghcr.io/canonical/sig-storage/csi-provisioner:v3.4.1 + image: {{ .Values.images.csiProvisioner }} imagePullPolicy: IfNotPresent args: - "--csi-address=$(ADDRESS)" @@ -154,7 +154,7 @@ spec: - name: socket-dir mountPath: /csi - name: external-snapshotter - image: ghcr.io/canonical/sig-storage/csi-snapshotter:v6.2.1 + image: {{ .Values.images.csiSnapshotter }} 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 8a50f36..dee772a 100644 --- a/deploy/charts/rawfile-csi/templates/02-storageclass.yaml +++ b/deploy/charts/rawfile-csi/templates/02-storageclass.yaml @@ -4,7 +4,7 @@ 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 }} diff --git a/deploy/charts/rawfile-csi/values.yaml b/deploy/charts/rawfile-csi/values.yaml index 87800e7..f555c2a 100644 --- a/deploy/charts/rawfile-csi/values.yaml +++ b/deploy/charts/rawfile-csi/values.yaml @@ -19,6 +19,12 @@ controller: - csi-driver - --disable-metrics +images: + csiNodeDriverRegistrar: registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.1 + csiProvisioner: registry.k8s.io/sig-storage/csi-provisioner:v5.0.1 + csiResizer: registry.k8s.io/sig-storage/csi-resizer:v1.11.1 + csiSnapshotter: registry.k8s.io/sig-storage/csi-snapshotter:v8.0.1 + node: <<: *defaults storage: