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
Describe the bug
I managed to bring my pulsar cluster up using this helm chart and some modifications to enable mTLS authentication.
This part is working and I plan to make a PR to help get this upstream. However, when I run pulsar functions with the kubernetesContainerFactory the config state is not inherited from the broker to the workers that get created via the kubernetesContainerFactory. The following files are default and not configured:
certs/*
function_worker.yml
client.conf
I see that a StatefulSet is created, and I can modify that to do some hackery, but I am wondering if I missed something or is this a bug in the way the functions workers are spawned when TLS is enabled.
To Reproduce
Steps to reproduce the behavior:
enable TLS
modify broker, proxy, toolset, bookkeeper, zookeeper-configmap.yaml to include tls authentication bits
Enable function worker
Deploy helm chart.
Expected behavior
I would think that the function workers would inherit their config state from the brokers: From the documentation:
In this mode, most of the settings are already inherited from your broker configuration (for example, configurationStore settings, authentication settings, and so on) since functions-worker is running as part of the broker.
Unless I have missed a step that I can't find any documentation on, I think this part is needed.
Additional context
I am using a fork from Master and my functions works do work correctly with no TLS and not authentication. Once I add authentication they do not work as they do not have any configs.
The text was updated successfully, but these errors were encountered:
pgier
pushed a commit
to pgier/pulsar-helm-chart
that referenced
this issue
Apr 22, 2022
Describe the bug
I managed to bring my pulsar cluster up using this helm chart and some modifications to enable mTLS authentication.
This part is working and I plan to make a PR to help get this upstream. However, when I run pulsar functions with the kubernetesContainerFactory the config state is not inherited from the broker to the workers that get created via the kubernetesContainerFactory. The following files are default and not configured:
I see that a StatefulSet is created, and I can modify that to do some hackery, but I am wondering if I missed something or is this a bug in the way the functions workers are spawned when TLS is enabled.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would think that the function workers would inherit their config state from the brokers: From the documentation:
In this mode, most of the settings are already inherited from your broker configuration (for example, configurationStore settings, authentication settings, and so on) since functions-worker is running as part of the broker.
Unless I have missed a step that I can't find any documentation on, I think this part is needed.
Additional context
I am using a fork from Master and my functions works do work correctly with no TLS and not authentication. Once I add authentication they do not work as they do not have any configs.
The text was updated successfully, but these errors were encountered: