Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Add tracing options when Jaeger deployment is enabled for the demo script #3947

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion demo/run-osm-demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ ENABLE_DEBUG_SERVER="${ENABLE_DEBUG_SERVER:-true}"
ENABLE_EGRESS="${ENABLE_EGRESS:-false}"
DEPLOY_GRAFANA="${DEPLOY_GRAFANA:-false}"
DEPLOY_JAEGER="${DEPLOY_JAEGER:-false}"
TRACING_ADDRESS="${TRACING_ADDRESS:-jaeger.${K8S_NAMESPACE}.svc.cluster.local}"
ENABLE_FLUENTBIT="${ENABLE_FLUENTBIT:-false}"
DEPLOY_PROMETHEUS="${DEPLOY_PROMETHEUS:-false}"
DEPLOY_WITH_SAME_SA="${DEPLOY_WITH_SAME_SA:-false}"
Expand Down Expand Up @@ -87,7 +88,7 @@ fi

if [ "$PUBLISH_IMAGES" = true ]; then
make docker-push
fi
fi

./scripts/create-container-registry-creds.sh "$K8S_NAMESPACE"

Expand All @@ -110,6 +111,8 @@ if [ "$CERT_MANAGER" = "vault" ]; then
--set=OpenServiceMesh.enableEgress="$ENABLE_EGRESS" \
--set=OpenServiceMesh.deployGrafana="$DEPLOY_GRAFANA" \
--set=OpenServiceMesh.deployJaeger="$DEPLOY_JAEGER" \
--set=OpenServiceMesh.tracing.enable="$DEPLOY_JAEGER" \
--set=OpenServiceMesh.tracing.address="$TRACING_ADDRESS" \
--set=OpenServiceMesh.enableFluentbit="$ENABLE_FLUENTBIT" \
--set=OpenServiceMesh.deployPrometheus="$DEPLOY_PROMETHEUS" \
--set=OpenServiceMesh.envoyLogLevel="$ENVOY_LOG_LEVEL" \
Expand All @@ -130,6 +133,8 @@ else
--set=OpenServiceMesh.enableEgress="$ENABLE_EGRESS" \
--set=OpenServiceMesh.deployGrafana="$DEPLOY_GRAFANA" \
--set=OpenServiceMesh.deployJaeger="$DEPLOY_JAEGER" \
--set=OpenServiceMesh.tracing.enable="$DEPLOY_JAEGER" \
--set=OpenServiceMesh.tracing.address="$TRACING_ADDRESS" \
--set=OpenServiceMesh.enableFluentbit="$ENABLE_FLUENTBIT" \
--set=OpenServiceMesh.deployPrometheus="$DEPLOY_PROMETHEUS" \
--set=OpenServiceMesh.envoyLogLevel="$ENVOY_LOG_LEVEL" \
Expand Down