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 43d7c2f  Fix tolerations for bookie init (#632)
43d7c2f is described below

commit 43d7c2ffbf40e182a014f305a004f405c5b2248a
Author: Lari Hotari <lhot...@users.noreply.github.com>
AuthorDate: Fri Sep 19 23:47:00 2025 +0300

    Fix tolerations for bookie init (#632)
---
 charts/pulsar/templates/bookkeeper-cluster-initialize.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/charts/pulsar/templates/bookkeeper-cluster-initialize.yaml 
b/charts/pulsar/templates/bookkeeper-cluster-initialize.yaml
index e2bdd72..77fbac2 100755
--- a/charts/pulsar/templates/bookkeeper-cluster-initialize.yaml
+++ b/charts/pulsar/templates/bookkeeper-cluster-initialize.yaml
@@ -40,12 +40,12 @@ spec:
     spec:
     {{- include "pulsar.imagePullSecrets" . | nindent 6 }}
       serviceAccountName: "{{ template "pulsar.fullname" . }}-{{ 
.Values.bookkeeper.component }}"
-      {{- if .Values.pulsar_metadata.nodeSelector }}
       nodeSelector:
+      {{- if .Values.pulsar_metadata.nodeSelector }}
 {{ toYaml .Values.pulsar_metadata.nodeSelector | indent 8 }}
       {{- end }}
-      {{- with .Values.pulsar_metadata.tolerations }}
       tolerations:
+      {{- if .Values.pulsar_metadata.tolerations }}
 {{ toYaml .Values.pulsar_metadata.tolerations | indent 8 }}
       {{- end }}
       initContainers:

Reply via email to