Skip to content

Rendering of the pulsar-manager-cluster-initialize.yaml template fails #681

Closed

Description

@jvellaft

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:

  1. Set pulsar_manager component to true in values.yaml
  2. Add node_selector and tolerations to the pulsar_metadata block in values.yaml
  3. 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

  1. lhotari commented on Apr 30, 2026

    @lhotari
    Member

    The solution is to fix the indentation of lines 47 and 51 as per the below:

    Would you like to create a PR to address this?

  2. lhotari commented on Apr 30, 2026

    @lhotari
    Member

    FYI, Pulsar Manager is unmaintained and a more modern replacement is Dekaf UI which is also integrated into the Pulsar Helm chart.

  3. jvellaft commented on May 4, 2026

    @jvellaft
    ContributorAuthor

    #681 (comment)
    The Dekaf template has the same problem. I will create a fix for both.

  4. added 2 commits that reference this issue on May 4, 2026
    8d69259
    1c5782d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions