Skip to content

Commit f900e23

Browse files
authored
[cinder-csi-plugin] custom StorageClass in Helm Chart (kubernetes#1455)
* [cinder-csi-plugin] custom StorageClass in Helm Chart * enable StorageClass default * fix snapshotclass exaple * re-format example * bump chart version, add maintainer * more bump chart version * [cinder-csi-plugin] custom StorageClass in Helm Chart * enable StorageClass default * fix snapshotclass exaple * re-format example * bump chart version, add maintainer * more bump chart version * Revert "more bump chart version" This reverts commit 553482f. * bump chart 1.3.6 * [cinder-csi-plugin] custom StorageClass in Helm Chart * enable StorageClass default * fix snapshotclass exaple * re-format example * [cinder-csi-plugin] custom StorageClass in Helm Chart * enable StorageClass default * fix snapshotclass exaple * re-format example * bump chart version, add maintainer * more bump chart version * remove maintainer * downsize storage class example
1 parent 7361943 commit f900e23

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

charts/cinder-csi-plugin/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: latest
33
description: Cinder CSI Chart for OpenStack
44
name: openstack-cinder-csi
5-
version: 1.3.5
5+
version: 1.3.6
66
home: https://github.com/kubernetes/cloud-provider-openstack
77
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
88
maintainers:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{{- if .Values.storageClass.custom -}}
2+
{{ .Values.storageClass.custom }}
3+
{{- end }}

charts/cinder-csi-plugin/values.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,22 @@ storageClass:
8282
retain:
8383
isDefault: false
8484
allowVolumeExpansion: true
85+
# any kind of custom StorageClasses
86+
# custom: |-
87+
# ---
88+
# apiVersion: storage.k8s.io/v1
89+
# kind: StorageClass
90+
# metadata:
91+
# name: sas
92+
# provisioner: cinder.csi.openstack.org
93+
# volumeBindingMode: WaitForFirstConsumer
94+
# allowVolumeExpansion: true
95+
# parameters:
96+
# type: SAS
97+
# ---
98+
# apiVersion: snapshot.storage.k8s.io/v1beta1
99+
# kind: VolumeSnapshotClass
100+
# metadata:
101+
# name: csi-cinder-snapclass
102+
# driver: cinder.csi.openstack.org
103+
# deletionPolicy: Delete

0 commit comments

Comments
 (0)