mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user