Skip to content

Commit

Permalink
Fix kafka ambassador mapping. Remove kafka.jks from setup.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Mikael Saarinen <[email protected]>
  • Loading branch information
msrn committed Dec 15, 2021
1 parent eb1aebc commit 84b3b96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 02_deployHono/ambassador_mappings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ metadata:
spec:
port: 9092
#host: ${domain}
service: hono-kafka-0-external:9092
service: kafka-0-external:9092
---
apiVersion: getambassador.io/v2
kind: Mapping
Expand Down
4 changes: 2 additions & 2 deletions tests/honoscript/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ DNS_LABEL=$(timeout $TIME kubectl get service ambassador -o json | jq -r .metada
MQTT_PORT=1883
MQTT_SECURE_PORT=8883
KAFKA_PORT=9092
KAFKA_TRUSTSTORE_PATH=./truststore.jks
kubectl get secrets hono-kafka-jks --template="{{index .data \"kafka.truststore.jks\" | base64decode}}" -n default > $KAFKA_TRUSTSTORE_PATH
#KAFKA_TRUSTSTORE_PATH=./truststore.jks
#kubectl get secrets hono-kafka-jks --template="{{index .data \"kafka.truststore.jks\" | base64decode}}" -n default > $KAFKA_TRUSTSTORE_PATH

DOMAIN_NAME=${DNS_LABEL}".westeurope.cloudapp.azure.com"

Expand Down

0 comments on commit 84b3b96

Please sign in to comment.