Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config values for CSI images #12

Merged
merged 2 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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.8.0
version: 1.0.0
mateoflorido marked this conversation as resolved.
Show resolved Hide resolved
appVersion: 0.8.0
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: 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)"
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: 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)
Expand Down Expand Up @@ -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)"
Expand Down Expand Up @@ -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 }}
mateoflorido marked this conversation as resolved.
Show resolved Hide resolved
imagePullPolicy: IfNotPresent
args:
- "--csi-address=$(ADDRESS)"
Expand Down
4 changes: 2 additions & 2 deletions deploy/charts/rawfile-csi/templates/02-storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
mateoflorido marked this conversation as resolved.
Show resolved Hide resolved
provisioner: rawfile.csi.openebs.io
reclaimPolicy: {{ .Values.storageClass.reclaimPolicy }}
volumeBindingMode: {{ .Values.storageClass.volumeBindingMode }}
allowVolumeExpansion: true
{{- end }}
{{- end }}
15 changes: 15 additions & 0 deletions deploy/charts/rawfile-csi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@ controller:
- csi-driver
- --disable-metrics

csiImages:
repository: registry.k8s.io/sig-storage
csiProvisioner:
image: csi-provisioner
mateoflorido marked this conversation as resolved.
Show resolved Hide resolved
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:
Expand Down
Loading