Skip to content

Commit b70c64c

Browse files
authored
chore(storageclass): provide switch to toggle storage class creation (#169)
Signed-off-by: Diwakar Sharma <[email protected]>
1 parent e9cc512 commit b70c64c

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

deploy/helm/charts/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Helm chart for OpenEBS Dynamic NFS PV. For instructions to install
44
type: application
55
# This is the chart version. This version number should be incremented each time you make changes
66
# to the chart and its templates, including the app version.
7-
version: 0.10.1
7+
version: 0.10.2
88
# This is the version number of the application being deployed. This version number should be
99
# incremented each time you make changes to the application.
1010
appVersion: 0.10.0

deploy/helm/charts/templates/kernel-nfs-storageclass.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
# Storage classes for OpenEBS NFS Dynamic PV
3+
{{- if .Values.nfsStorageClass.enabled }}
34
apiVersion: storage.k8s.io/v1
45
kind: StorageClass
56
metadata:
@@ -61,3 +62,4 @@ mountOptions:
6162
- {{ . }}
6263
{{- end }}
6364
{{- end }}
65+
{{- end }}

deploy/helm/charts/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ nfsProvisioner:
8989

9090
nfsStorageClass:
9191
name: openebs-kernel-nfs
92+
# If true, enables creation of the openebs-kernel-nfs StorageClass
93+
enabled: true
9294
reclaimPolicy: Delete
9395
nfsServerType: kernel
9496
isDefaultClass: false

0 commit comments

Comments
 (0)