diff --git a/deploy/chart/local-path-provisioner/templates/storageclass.yaml b/deploy/chart/local-path-provisioner/templates/storageclass.yaml index 0bddf7b0f..5b309f38b 100644 --- a/deploy/chart/local-path-provisioner/templates/storageclass.yaml +++ b/deploy/chart/local-path-provisioner/templates/storageclass.yaml @@ -20,9 +20,9 @@ provisioner: {{ template "local-path-provisioner.provisionerName" $dot }} volumeBindingMode: {{ $values.storageClass.volumeBindingMode }} reclaimPolicy: {{ $values.storageClass.reclaimPolicy }} allowVolumeExpansion: true -{{- if .Values.storageClass.pathPattern }} +{{- if $values.storageClass.pathPattern }} parameters: - pathPattern: {{ .Values.storageClass.pathPattern | quote }} + pathPattern: {{ $values.storageClass.pathPattern | quote }} {{ end -}} {{- end }} ---