Skip to content

Commit

Permalink
[stable/nfs-server-provisioner] fix deployment when not creating stor…
Browse files Browse the repository at this point in the history
…age class (helm#16331)

* When a storage class is not created, mountOptions and parameters are also not included in the file

Signed-off-by: Tomas Ostasevicius <t.ostasevicius@gmail.com>

* Bump nfs-server-provisioner version

Signed-off-by: Tomas Ostasevicius <t.ostasevicius@gmail.com>
Signed-off-by: Marius Voila <myself@mariusv.com>
  • Loading branch information
to266 authored and mariusv committed Sep 16, 2019
1 parent 058af12 commit 45efda1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/nfs-server-provisioner/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 2.2.1-k8s1.12
description: nfs-server-provisioner is an out-of-tree dynamic provisioner for Kubernetes. You can use it to quickly & easily deploy shared storage that works almost anywhere.
name: nfs-server-provisioner
version: 0.3.0
version: 0.3.1
maintainers:
- name: kiall
email: kiall@macinnes.ie
Expand Down
2 changes: 1 addition & 1 deletion stable/nfs-server-provisioner/templates/storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ reclaimPolicy: {{ .Values.storageClass.reclaimPolicy }}
{{ if .Values.storageClass.allowVolumeExpansion }}
allowVolumeExpansion: {{ .Values.storageClass.allowVolumeExpansion }}
{{ end }}
{{ end -}}
{{- with .Values.storageClass.parameters }}
parameters:
{{ toYaml . | indent 2 }}
Expand All @@ -26,3 +25,4 @@ parameters:
mountOptions:
{{ toYaml . | indent 2 }}
{{- end }}
{{ end -}}

0 comments on commit 45efda1

Please sign in to comment.