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