From b848e6a89aab16ab2c6a75e2dc20f08893aad253 Mon Sep 17 00:00:00 2001 From: Bruno Bernard Date: Fri, 22 Aug 2025 20:41:34 +0400 Subject: [PATCH] fix: add global domain --- charts/textbee/templates/web-deployment.yaml | 2 +- charts/textbee/values.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/textbee/templates/web-deployment.yaml b/charts/textbee/templates/web-deployment.yaml index a834ad9..01278d9 100644 --- a/charts/textbee/templates/web-deployment.yaml +++ b/charts/textbee/templates/web-deployment.yaml @@ -26,7 +26,7 @@ spec: value: 0.0.0.0 {{- if .Values.web.ingress.enabled }} - name: NEXT_PUBLIC_SITE_URL - value: "https://{{ .Values.web.ingress.url }}" + value: "https://{{ .Values.globals.domain }}" {{- end }} - name: PORT value: "{{ .Values.web.service.port }}" diff --git a/charts/textbee/values.yaml b/charts/textbee/values.yaml index 1143edc..e6ce1cc 100644 --- a/charts/textbee/values.yaml +++ b/charts/textbee/values.yaml @@ -2,6 +2,8 @@ globals: mongo_uri: secretName: "textbee-mongo-uri-secret" secretKey: "uri" + domain: "https://chart-example.local" + api: # This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ replicaCount: 1