This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-helm-chart.git


The following commit(s) were added to refs/heads/master by this push:
     new 2d646f4  Fix PVC selector scope error when bookkeeper uses multiple 
data volumes (#342)
2d646f4 is described below

commit 2d646f4efe4a8b6f552dc921d9eeb2cde07cbc67
Author: huis <[email protected]>
AuthorDate: Tue Jul 11 15:03:38 2023 +0800

    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 }}

Reply via email to