Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 3 additions & 2 deletions all-in-one/scripts/start-console.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ if [ "$O11Y" == "on" ]; then
export HIGRESS_CONSOLE_DASHBOARD_DATASOURCE_LOKI_URL="http://localhost:3100"
fi

if [ "$USE_PLUGIN_SERVER" == "on" ]; then
export HIGRESS_ADMIN_WASM_PLUGIN_CUSTOM_IMAGE_URL_PATTERN="http://localhost:8002/plugins/\${name}/\${version}/plugin.wasm"
if [ "$USE_PLUGIN_SERVER" == "on" -a -z "$HIGRESS_ADMIN_WASM_PLUGIN_CUSTOM_IMAGE_URL_PATTERN" ]; then
HIGRESS_ADMIN_WASM_PLUGIN_CUSTOM_IMAGE_URL_PATTERN="http://localhost:8002/plugins/\${name}/\${version}/plugin.wasm"
fi
export HIGRESS_ADMIN_WASM_PLUGIN_CUSTOM_IMAGE_URL_PATTERN

HIGRESS_CONSOLE_KUBE_CONFIG="/app/kubeconfig" \
HIGRESS_CONSOLE_SERVICE_HOST="higress-console.static" \
Expand Down
5 changes: 3 additions & 2 deletions all-in-one/scripts/start-controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ waitForApiServer
set -e

# Use HTTP for loading wasm plugins from plugin-server
if [ "$USE_PLUGIN_SERVER" == "on" ]; then
export MCP_SERVER_WASM_IMAGE_URL="http://localhost:8002/plugins/mcp-server/1.0.0/plugin.wasm"
if [ "$USE_PLUGIN_SERVER" == "on" -a -z "$MCP_SERVER_WASM_IMAGE_URL" ]; then
MCP_SERVER_WASM_IMAGE_URL="http://localhost:8002/plugins/mcp-server/1.0.0/plugin.wasm"
fi
export MCP_SERVER_WASM_IMAGE_URL

/usr/local/bin/higress \
serve \
Expand Down
Loading