From 63feacb04e47fbc7285cc666ce3fbf6fdf2b7937 Mon Sep 17 00:00:00 2001 From: Derek Su Date: Wed, 29 May 2024 09:02:45 +0800 Subject: [PATCH] chart: fix pathPattern Signed-off-by: Derek Su --- .../chart/local-path-provisioner/templates/storageclass.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/chart/local-path-provisioner/templates/storageclass.yaml b/deploy/chart/local-path-provisioner/templates/storageclass.yaml index 0bddf7b0..5b309f38 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 }} ---