Skip to content

Commit 9a2e277

Browse files
committed
Fix tolerations for bookie init
1 parent 5aad65c commit 9a2e277

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

charts/pulsar/templates/bookkeeper-cluster-initialize.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ spec:
4040
spec:
4141
{{- include "pulsar.imagePullSecrets" . | nindent 6 }}
4242
serviceAccountName: "{{ template "pulsar.fullname" . }}-{{ .Values.bookkeeper.component }}"
43-
{{- if .Values.pulsar_metadata.nodeSelector }}
4443
nodeSelector:
44+
{{- if .Values.pulsar_metadata.nodeSelector }}
4545
{{ toYaml .Values.pulsar_metadata.nodeSelector | indent 8 }}
4646
{{- end }}
47-
{{- with .Values.pulsar_metadata.tolerations }}
4847
tolerations:
48+
{{- if .Values.pulsar_metadata.tolerations }}
4949
{{ toYaml .Values.pulsar_metadata.tolerations | indent 8 }}
5050
{{- end }}
5151
initContainers:

0 commit comments

Comments
 (0)