-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[bitnami/kafka] Allow for domain name override #29316
Conversation
Signed-off-by: Eduardo Mota <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Hi @Sudmota I find this new parameter confusing. In both cases the cluster domain will be substituted in the advertised listeners based on the Can't you set any custom advertised listeners using the |
Hello @juan131 ! Thank you for your prompt reply. In short: Undesired: What would happen by changing listeners.advertisedListeners: "CLIENT://test.example.com:9092" Which is what we are trying to address. Having specific advertisedListeners for each pod. |
Hi @Sudmota The current logic already uses replace_placeholder "advertised-address-placeholder" "${MY_POD_NAME}.{{ $fullname }}-${POD_ROLE}-headless.{{ $releaseNamespace }}.svc.{{ $clusterDomain }}" Could you please provide the chart parameters (provided via
I'd like to reproduce the behaviour you're mentioning. |
Hello @juan131 ! Here it goes. This is my whole values.yaml file as of now. Everything else inherits from the defaults. I have replaced the clusterDomain and trust/keystore passwords with valid ones.
With this, this returns (for node 2):
Whereas this line exists:
What we're trying to accomplish is having this:
|
Hi @Sudmota With the current chart, replacing the placeholder results on the configuration below (assuming pod names is
This implies a unique advertised listener per Kafka broker. The only difference with your proposal is that K8s svc name and namespace is included in the FQDN. |
This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Pull Request. Do not hesitate to reopen it later if necessary. |
Description of the change
This PR allows the server.properties to integrate external domains into the advertised listeners. When
listeners.overrideDomain
is set totrue
, the listeners will appear in the format<listener_name>://<pod_name>.<cluster_domain>:<port>
on all listeners.Benefits
This configuration is to be used when an external JKS, matching a specific domain other than
cluster.local
is used, and ensures all SSL connections (interbroker, controller, client and external) are validated through that certificate.Possible drawbacks
None identified
Applicable issues
None identified
Additional information
N/A
Checklist
Chart.yaml
according to semver. This is not necessary when the changes only affect README.md files.README.md
using readme-generator-for-helm