From f8c83e7bdfa30fb67eaa9a0334827065190d74bf Mon Sep 17 00:00:00 2001 From: Ravi Pendurty Date: Fri, 21 Apr 2023 17:35:45 +0530 Subject: Use env vars for strimzi kafka configuration remove static mountpoint-registrar.properties file and use docker-compose instead for configuration Issue-ID: SDNC-1797 Signed-off-by: Ravi Pendurty Change-Id: I317ae2024910aeaf01c91306a956421388805490 Former-commit-id: 2275f4b93a950c9bb9873a0d3e698573bfa75e9a --- csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml') diff --git a/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml b/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml index 6b8d4648..cb44a7f0 100644 --- a/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml +++ b/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml @@ -21,8 +21,14 @@ services: - SDNRONLY=true - JAVA_OPTS=-Xms256m -Xmx2g - SDNR_WEBSOCKET_PORT=${SDNR_WEBSOCKET_PORT} + - SDNR_KAFKA_ENABLED=true + - SDNR_KAFKA_BOOTSTRAP_SERVERS=kafka:9092 + - SDNR_KAFKA_SECURITY_PROTOCOL=PLAINTEXT + - SDNR_KAFKA_SASL_MECHANISM=PLAIN + - SDNR_KAFKA_SASL_JAAS_CONFIG=PLAIN + - SDNRUSERNAME=${ODL_ADMIN_USERNAME} + - SDNRPASSWORD=${ODL_ADMIN_PASSWORD} volumes: - - ./sdnr/mountpoint-registrar.properties:/opt/opendaylight/etc/mountpoint-registrar.properties - ./sdnr/certs/certs.properties:${ODL_CERT_DIR}/certs.properties - ./sdnr/certs/keys0.zip:${ODL_CERT_DIR}/keys0.zip networks: -- cgit 1.2.3-korg