Browse Source

fix: add global domain

pull/122/head
Bruno Bernard 7 months ago
parent
commit
b848e6a89a
  1. 2
      charts/textbee/templates/web-deployment.yaml
  2. 2
      charts/textbee/values.yaml

2
charts/textbee/templates/web-deployment.yaml

@ -26,7 +26,7 @@ spec:
value: 0.0.0.0 value: 0.0.0.0
{{- if .Values.web.ingress.enabled }} {{- if .Values.web.ingress.enabled }}
- name: NEXT_PUBLIC_SITE_URL - name: NEXT_PUBLIC_SITE_URL
value: "https://{{ .Values.web.ingress.url }}"
value: "https://{{ .Values.globals.domain }}"
{{- end }} {{- end }}
- name: PORT - name: PORT
value: "{{ .Values.web.service.port }}" value: "{{ .Values.web.service.port }}"

2
charts/textbee/values.yaml

@ -2,6 +2,8 @@ globals:
mongo_uri: mongo_uri:
secretName: "textbee-mongo-uri-secret" secretName: "textbee-mongo-uri-secret"
secretKey: "uri" secretKey: "uri"
domain: "https://chart-example.local"
api: api:
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ # This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
replicaCount: 1 replicaCount: 1

Loading…
Cancel
Save