From 2d646f4efe4a8b6f552dc921d9eeb2cde07cbc67 Mon Sep 17 00:00:00 2001 From: huis <957414423@qq.com> Date: Tue, 11 Jul 2023 15:03:38 +0800 Subject: [PATCH] Fix PVC selector scope error when bookkeeper uses multiple data volumes (#342) Fix PVC selector scope error when bookkeeper uses multiple data volumes --- charts/pulsar/templates/bookkeeper-statefulset.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/pulsar/templates/bookkeeper-statefulset.yaml b/charts/pulsar/templates/bookkeeper-statefulset.yaml index e1b3948..7ea55f3 100644 --- a/charts/pulsar/templates/bookkeeper-statefulset.yaml +++ b/charts/pulsar/templates/bookkeeper-statefulset.yaml @@ -267,7 +267,7 @@ spec: {{- if .storageClassName }} storageClassName: "{{ .storageClassName }}" {{- end }} - {{- with .Values.bookkeeper.volumes.journal.selector }} + {{- with $.Values.bookkeeper.volumes.journal.selector }} selector: {{- toYaml . | nindent 8 }} {{- end }} @@ -306,7 +306,7 @@ spec: {{- if .storageClassName }} storageClassName: "{{ .storageClassName }}" {{- end }} - {{- with .Values.bookkeeper.volumes.ledgers.selector }} + {{- with $.Values.bookkeeper.volumes.ledgers.selector }} selector: {{- toYaml . | nindent 8 }} {{- end }}