[stable/nfs-server-provisioner] Fix error related to printf in helpers (#5376)

* Fix error related to `printf` in helpers

Error: render error in "../charts/nfs-server-provisioner/templates/storageclass.yaml": template: ../charts/nfs-server-provisioner/templates/_helpers.tpl:39:4: executing "nfs-provisioner.provisionerName" at <printf>: wrong number of args for printf: want at least 1 got 0

* Bump version to 0.1.3
This commit is contained in:
Mourad
2018-05-09 15:22:54 -07:00
committed by k8s-ci-robot
parent 6c457cddbe
commit a4f3e4128a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.0.8
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.1.2
version: 0.1.3
maintainers:
- name: kiall
email: kiall@macinnes.ie
@@ -36,7 +36,7 @@ Create chart name and version as used by the chart label.
*/}}
{{- define "nfs-provisioner.provisionerName" -}}
{{- if .Values.storageClass.provisionerName -}}
{{- printf.Values.storageClass.provisionerName -}}
{{- printf .Values.storageClass.provisionerName -}}
{{- else -}}
cluster.local/{{ template "nfs-provisioner.fullname" . -}}
{{- end -}}