bitnami/kafka Adjust parameters in example of section "Deploying extra resources" in README (#32445)

* Update Kafka README

Signed-off-by: Robin Sachsenweger Ballantyne <makenenjoy@gmail.com>
Signed-off-by: robin <r.s.b.sachsenweger.ballantyne@student.rug.nl>

* Update Kafka controller hostname in extra resources example.

Signed-off-by: Robin Sachsenweger Ballantyne <makenenjoy@gmail.com>
Signed-off-by: robin <r.s.b.sachsenweger.ballantyne@student.rug.nl>

---------

Signed-off-by: Robin Sachsenweger Ballantyne <makenenjoy@gmail.com>
Signed-off-by: robin <r.s.b.sachsenweger.ballantyne@student.rug.nl>
This commit is contained in:
Robin Sachsenweger Ballantyne
2025-04-02 13:14:28 +02:00
committed by GitHub
parent 1c821623a0
commit cac0f8110a

View File

@@ -339,7 +339,7 @@ extraDeploy:
app.kubernetes.io/component: connector
data:
connect-standalone.properties: |-
bootstrap.servers = {{ include "common.names.fullname" . }}-0.{{ include "common.names.fullname" . }}-headless.{{ include "common.names.namespace" . }}.svc.{{ .Values.clusterDomain }}:{{ .Values.service.port }}
bootstrap.servers = {{ include "common.names.fullname" . }}-controller-0.{{ include "common.names.fullname" . }}-controller-headless.{{ include "common.names.namespace" . }}.svc.{{ .Values.clusterDomain }}:{{ .Values.service.ports.client }}
...
mongodb.properties: |-
connection.uri=mongodb://root:password@mongodb-hostname:27017
@@ -368,7 +368,7 @@ FROM bitnami/kafka:latest
RUN mkdir -p /opt/bitnami/kafka/plugins && \
cd /opt/bitnami/kafka/plugins && \
curl --remote-name --location --silent https://search.maven.org/remotecontent?filepath=org/mongodb/kafka/mongo-kafka-connect/1.2.0/mongo-kafka-connect-1.2.0-all.jar
CMD /opt/bitnami/kafka/bin/connect-standalone.sh /opt/bitnami/kafka/config/connect-standalone.properties /opt/bitnami/kafka/config/mongo.properties
CMD /opt/bitnami/kafka/bin/connect-standalone.sh /bitnami/kafka/config/connect-standalone.properties /bitnami/kafka/config/mongo.properties
```
### Persistence
@@ -1529,4 +1529,4 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.