Skip to content

Commit d396250

Browse files
committed
default insecure in local
Signed-off-by: bitliu <[email protected]>
1 parent 2ebe3e8 commit d396250

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

deploy/kubernetes/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ spec:
8282
containers:
8383
- name: semantic-router
8484
image: ghcr.io/vllm-project/semantic-router/extproc:latest
85+
args: ["--secure=true"]
8586
securityContext:
8687
runAsNonRoot: false
8788
allowPrivilegeEscalation: false

scripts/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ if [[ ! -f "$CONFIG_FILE_PATH" ]]; then
99
fi
1010

1111
echo "[entrypoint] Starting semantic-router with config: $CONFIG_FILE_PATH"
12-
exec /app/extproc-server --config "$CONFIG_FILE_PATH"
12+
echo "[entrypoint] Additional args: $*"
13+
exec /app/extproc-server --config "$CONFIG_FILE_PATH" "$@"

src/semantic-router/cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func main() {
2020
apiPort = flag.Int("api-port", 8080, "Port to listen on for Classification API")
2121
metricsPort = flag.Int("metrics-port", 9190, "Port for Prometheus metrics")
2222
enableAPI = flag.Bool("enable-api", true, "Enable Classification API server")
23-
secure = flag.Bool("secure", true, "Enable secure gRPC server with TLS")
23+
secure = flag.Bool("secure", false, "Enable secure gRPC server with TLS")
2424
certPath = flag.String("cert-path", "", "Path to TLS certificate directory (containing tls.crt and tls.key)")
2525
)
2626
flag.Parse()

0 commit comments

Comments
 (0)