You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rendering of the pulsar-manager-cluster-initialize.yaml template fails #681
Describe the bug
Rendering of the pulsar-manager-cluster-initialize.yaml template fails when Values.pulsar_metadata.nodeSelector and Values.pulsar_metadata.tolerations are true
To Reproduce
Steps to reproduce the behavior:
Set pulsar_manager component to true in values.yaml
Add node_selector and tolerations to the pulsar_metadata block in values.yaml
Install Helm chart using the custom values.yaml file
Expected behavior
Helm chart installation is successful
Error
Error: INSTALLATION FAILED: YAML parse error on pulsar/templates/pulsar-manager-cluster-initialize.yaml: error converting YAML to JSON: yaml: line 44: did not find expected key
helm.go:92: 2026-04-30 16:54:11.883543 +0200 CEST m=+1.326042855 [debug] error converting YAML to JSON: yaml: line 44: did not find expected key
Additional context
The solution is to fix the indentation of lines 47 and 51 as per the below:
spec:
{{- include "pulsar.imagePullSecrets" . | nindent 6 }}
nodeSelector:
{{- if .Values.pulsar_metadata.nodeSelector }}
{{ toYaml .Values.pulsar_metadata.nodeSelector | indent 8 }}
{{- end }}
tolerations:
{{- if .Values.pulsar_metadata.tolerations }}
{{ toYaml .Values.pulsar_metadata.tolerations | indent 8 }}
{{- end }}
Activity
lhotari commentedon Apr 30, 2026
Would you like to create a PR to address this?
lhotari commentedon Apr 30, 2026
FYI, Pulsar Manager is unmaintained and a more modern replacement is Dekaf UI which is also integrated into the Pulsar Helm chart.
jvellaft commentedon May 4, 2026
#681 (comment)
The Dekaf template has the same problem. I will create a fix for both.
Update dekaf-deployment.yaml
Update pulsar-manager-cluster-initialize.yaml
Fix nodeSelector and tolerations handling in dekaf-deployment.yaml (#682
Fix nodeSelector and tolerations handling in pulsar-manager-cluster-i…