Get source bootstrap servers from k8s configmap in MM2? #9934
Unanswered
iftachbyaf
asked this question in
Q&A
Replies: 1 comment 14 replies
-
I would not expect it to work to specify a config provider-based value directly in the custom resource. But if it works for you in Connect, it should work the same way for you in MM2. |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm working on setting up our MM2 strimzi deployment as dynamically as possible. I want the source bootstrap servers to read from a k8s configmap that we have which contains the bootstrap servers.
Right now we have the bootstrap servers as a string passed to the chart;
I saw that it is possible to setup externalConfiguration at the spec schema level, which will load a configmap, but I'm not sure how to set this up and then reference this as the value passed to bootstrapServers exactly? Is there an example somewhere on how to do this?
For reference for normal kafka connect I used
and then loaded it from configmap like this
bootstrapServers: "${configmaps:strimzi/{{ .Values.cluster }}:brokers_tls}"
This syntax doesnt seem to match how I'm supposed to do it on mm2?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions