Skip to content

Commit

Permalink
Add config values for CSI images (#12)
Browse files Browse the repository at this point in the history
Add values for configuring the CSI images in the chart
  • Loading branch information
mateoflorido authored and addyess committed Jun 21, 2024
1 parent b96a879 commit 5325026
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
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.8.2
version: 0.9.0
appVersion: 0.8.0
Binary file added deploy/charts/rawfile-csi/rawfile-csi-0.9.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
6 changes: 3 additions & 3 deletions deploy/charts/rawfile-csi/templates/01-node-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)"
Expand Down Expand Up @@ -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)"
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 @@ -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 }}
Expand Down
6 changes: 6 additions & 0 deletions deploy/charts/rawfile-csi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5325026

Please sign in to comment.