Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broker statefulset no accounted for in PulsarSQL configmap #267

Open
ddieruf opened this issue Nov 15, 2022 · 2 comments
Open

Broker statefulset no accounted for in PulsarSQL configmap #267

ddieruf opened this issue Nov 15, 2022 · 2 comments

Comments

@ddieruf
Copy link
Contributor

ddieruf commented Nov 15, 2022

The pulsarSql configmap assumes broker is a deployment by using .Values.broker.component

pulsar.broker-service-url=http://{{ template "pulsar.fullname" . }}-{{ .Values.broker.component }}.{{ template "pulsar.serviceDnsSuffix" . }}:8080

When using brokerSts, PulsarSql can not find the broker because it's .Values.brokerSts.component.

@michaeljmarshall
Copy link
Member

Thanks for opening this issue @ddieruf. I think there are multiple places in the helm chart with this bug. the easiest solution is to configure .Values.brokerSts.component: broker. A better solution would use a templating function to figure out the "right" component name to use without duplicating the logic everywhere. Is this issue blocking you? Are you interested in contributing a fix?

@ddieruf
Copy link
Contributor Author

ddieruf commented Nov 15, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants