bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
8.61k stars 8.98k forks source link

Kafka chart has incorrect extraListeners templating #27508

Open asazanoff opened 1 week ago

asazanoff commented 1 week ago

Name and Version

bitnami/kafka 29.3.4

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. Update listeners.extraListeners with more then one custom listener:
    listeners:
      extraListeners:
       - name: CUSTOM
         containerPort: 9097
         protocol: SASL_PLAINTEXT
         sslClientAuth: ""
       - name: CUSTOM2
         containerPort: 4097
         protocol: SASL_PLAINTEXT
         sslClientAuth: ""
  2. Run helm template

What is the expected behavior?

Statefulset would have in ports

            - name: custom
              containerPort: 9097
            - name: custom2
              containerPort: 4097

What do you see instead?

Statefulset would have in ports

            - name: custom
              containerPort: 9097- name: custom2
              containerPort: 4097
carrodher commented 1 week ago

Thank you for bringing this issue to our attention. We appreciate your involvement! If you're interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here.

Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.