diff --git a/.gitignore b/.gitignore index 99416d8..2bbd411 100644 --- a/.gitignore +++ b/.gitignore @@ -167,4 +167,5 @@ housewatch.sqlite3 .DS_Store yarn.lock -charts/housewatch/charts/ \ No newline at end of file +charts/housewatch/charts/ +.pnpm/ \ No newline at end of file diff --git a/charts/housewatch/Chart.yaml b/charts/housewatch/Chart.yaml index 3eef944..6aef8d8 100644 --- a/charts/housewatch/Chart.yaml +++ b/charts/housewatch/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: housewatch description: Open source tool for monitoring and managing ClickHouse clusters type: application -version: 0.1.8 +version: 0.1.9 appVersion: "0.1.2" dependencies: - name: postgresql diff --git a/charts/housewatch/templates/nginx-configmap.yaml b/charts/housewatch/templates/nginx-configmap.yaml index 450bceb..702f27d 100644 --- a/charts/housewatch/templates/nginx-configmap.yaml +++ b/charts/housewatch/templates/nginx-configmap.yaml @@ -31,7 +31,7 @@ data: } location /admin { - proxy_pass http://housewatch-api:8000; + proxy_pass http://{{ include "housewatch.fullname" . }}-api:8000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; @@ -39,7 +39,7 @@ data: } location /healthz { - proxy_pass http://housewatch-api:8000; + proxy_pass http://{{ include "housewatch.fullname" . }}-api:8000; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 201371a..e385b91 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -23,7 +23,7 @@ export default defineConfig({ }, }, }, - base: process.env.NODE_ENV === "production" ? "/webapp/" : "/", + base: "/", build: { outDir: "./build" }