Skip to content

Commit

Permalink
Revert "[StreamingTelemetry] add noTLS support for debug purpose (son…
Browse files Browse the repository at this point in the history
…ic-net#6704)"

This reverts commit 2e42ecb.
  • Loading branch information
TACappleman committed Oct 8, 2021
1 parent 2824b81 commit 6685c1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockers/docker-sonic-telemetry/telemetry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,13 @@ elif [ -n "$X509" ]; then
TELEMETRY_ARGS+=" --ca_crt $CA_CRT"
fi
else
TELEMETRY_ARGS+=" --noTLS"
TELEMETRY_ARGS+=" --insecure"
fi

# If no configuration entry exists for TELEMETRY, create one default port
if [ -z "$GNMI" ]; then
PORT=8080
sonic-db-cli CONFIG_DB hset "TELEMETRY|gnmi" port $PORT
else
PORT=$(echo $GNMI | jq -r '.port')
fi
Expand Down

0 comments on commit 6685c1d

Please sign in to comment.