From 9fa5ed36bd421f2d9f5664c2b5f0e5b85f69cb0f Mon Sep 17 00:00:00 2001 From: Robin Munn Date: Thu, 15 Jun 2023 13:13:31 +0700 Subject: [PATCH] Add dev.languagedepot.org hostname for local dev --- deployment/lexbox-deployment.yaml | 2 +- deployment/proxy-deployment.yaml | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/deployment/lexbox-deployment.yaml b/deployment/lexbox-deployment.yaml index f7b96a32e..13bc28376 100644 --- a/deployment/lexbox-deployment.yaml +++ b/deployment/lexbox-deployment.yaml @@ -146,7 +146,7 @@ spec: key: PUBLIC_TURNSTILE_SITE_KEY name: ui - name: PUBLIC_ENV_NAME - value: staging + value: dev - name: BACKEND_HOST value: http://localhost - name: OTEL_ENDPOINT diff --git a/deployment/proxy-deployment.yaml b/deployment/proxy-deployment.yaml index b8be4be3b..89b275c6d 100644 --- a/deployment/proxy-deployment.yaml +++ b/deployment/proxy-deployment.yaml @@ -34,6 +34,30 @@ spec: name: lexbox port: name: github-deploy + - host: dev.languagedepot.org + http: + paths: + - path: /api + pathType: Prefix + backend: + service: + name: lexbox + port: + name: http + - path: /v1/traces + pathType: Prefix + backend: + service: + name: lexbox + port: + name: otel + - path: / + pathType: Prefix + backend: + service: + name: lexbox + port: + name: sveltekit tls: - hosts: