Skip to content

Commit

Permalink
Removed the script to generate the configuration (#963)
Browse files Browse the repository at this point in the history
* Removed the script to generate the configuration

Signed-off-by: Paolo Patierno <[email protected]>

* CHANGELOG update

Signed-off-by: Paolo Patierno <[email protected]>

---------

Signed-off-by: Paolo Patierno <[email protected]>
  • Loading branch information
ppatierno authored Jan 23, 2025
1 parent 7ee57e6 commit 1b85d27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 181 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
* Dropped support for OpenAPI v2 Swagger specification.
* The `/openapi/v2` endpoint returns HTTP 410 Gone.
* Both the `/openapi` and `/openapi/v3` endpoints return the OpenAPI v3 definition of the bridge REST API.
* Removed script to build bridge configuration within the container.
It is going to be set up by the Strimzi operator within a ConfigMap and mounted as volume on the bridge pod.

## 0.31.1

Expand Down
180 changes: 0 additions & 180 deletions bin/docker/kafka_bridge_config_generator.sh

This file was deleted.

2 changes: 1 addition & 1 deletion bin/docker/kafka_bridge_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ mkdir -p /tmp/strimzi

# Generate and print the bridge config file
echo "Kafka Bridge configuration:"
"${MYPATH}"/kafka_bridge_config_generator.sh | tee /tmp/kafka-bridge.properties | sed 's/sasl.jaas.config=.*/sasl.jaas.config=[hidden]/g' | sed 's/password=.*/password=[hidden]/g'
tee /tmp/kafka-bridge.properties < "$STRIMZI_HOME/custom-config/application.properties" | sed -e 's/sasl.jaas.config=.*/sasl.jaas.config=[hidden]/g' -e 's/password=.*/password=[hidden]/g'
echo ""

# Configure logging for Kubernetes deployments
Expand Down

0 comments on commit 1b85d27

Please sign in to comment.