diff --git a/charts/textbee/Chart.yaml b/charts/textbee/Chart.yaml index 3642d9f..428a09a 100644 --- a/charts/textbee/Chart.yaml +++ b/charts/textbee/Chart.yaml @@ -3,6 +3,6 @@ name: textbee description: A Helm chart to deploy TextBee. type: application -version: 0.1.8 +version: 0.1.9 appVersion: "v2.6.2" diff --git a/charts/textbee/templates/api-deployment.yaml b/charts/textbee/templates/api-deployment.yaml index 003123d..8d3a67f 100644 --- a/charts/textbee/templates/api-deployment.yaml +++ b/charts/textbee/templates/api-deployment.yaml @@ -29,7 +29,7 @@ spec: value: "{{ .Values.api.service.port }}" {{- if .Values.web.enabled }} - name: FRONTEND_URL - value: "http://{{ include "textbee.fullname" .}}-web:{{ .Values.web.service.port }}" + value: "http://svc-{{ include "textbee.fullname" .}}-web:{{ .Values.web.service.port }}" {{- end}} {{- if .Values.api.redis.enabled }} - name: REDIS_URL diff --git a/charts/textbee/templates/web-deployment.yaml b/charts/textbee/templates/web-deployment.yaml index 01278d9..1aa8618 100644 --- a/charts/textbee/templates/web-deployment.yaml +++ b/charts/textbee/templates/web-deployment.yaml @@ -31,7 +31,7 @@ spec: - name: PORT value: "{{ .Values.web.service.port }}" - name: NEXT_PUBLIC_API_BASE_URL - value: "http://{{ include "textbee.fullname" .}}-api:{{ .Values.web.service.port }}/api/v1" + value: "http://svc-{{ include "textbee.fullname" .}}-api:{{ .Values.api.service.port }}/api/v1" - name: DATABASE_URL valueFrom: secretKeyRef: