Skip to content

Commit

Permalink
chore(storageclass): provide switch to toggle storage class creation (#…
Browse files Browse the repository at this point in the history
…169)

Signed-off-by: Diwakar Sharma <[email protected]>
  • Loading branch information
dsharma-dc authored Nov 20, 2023
1 parent e9cc512 commit b70c64c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/helm/charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Helm chart for OpenEBS Dynamic NFS PV. For instructions to install
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.10.1
version: 0.10.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 0.10.0
Expand Down
2 changes: 2 additions & 0 deletions deploy/helm/charts/templates/kernel-nfs-storageclass.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
# Storage classes for OpenEBS NFS Dynamic PV
{{- if .Values.nfsStorageClass.enabled }}
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
Expand Down Expand Up @@ -61,3 +62,4 @@ mountOptions:
- {{ . }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions deploy/helm/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ nfsProvisioner:

nfsStorageClass:
name: openebs-kernel-nfs
# If true, enables creation of the openebs-kernel-nfs StorageClass
enabled: true
reclaimPolicy: Delete
nfsServerType: kernel
isDefaultClass: false
Expand Down

0 comments on commit b70c64c

Please sign in to comment.