Browse Source

fix: add correct service name

pull/122/head
Bruno Bernard 7 months ago
parent
commit
f43983d86f
  1. 2
      charts/textbee/Chart.yaml
  2. 2
      charts/textbee/templates/api-deployment.yaml
  3. 2
      charts/textbee/templates/web-deployment.yaml

2
charts/textbee/Chart.yaml

@ -3,6 +3,6 @@ name: textbee
description: A Helm chart to deploy TextBee. description: A Helm chart to deploy TextBee.
type: application type: application
version: 0.1.8
version: 0.1.9
appVersion: "v2.6.2" appVersion: "v2.6.2"

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

@ -29,7 +29,7 @@ spec:
value: "{{ .Values.api.service.port }}" value: "{{ .Values.api.service.port }}"
{{- if .Values.web.enabled }} {{- if .Values.web.enabled }}
- name: FRONTEND_URL - 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}} {{- end}}
{{- if .Values.api.redis.enabled }} {{- if .Values.api.redis.enabled }}
- name: REDIS_URL - name: REDIS_URL

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

@ -31,7 +31,7 @@ spec:
- name: PORT - name: PORT
value: "{{ .Values.web.service.port }}" value: "{{ .Values.web.service.port }}"
- name: NEXT_PUBLIC_API_BASE_URL - 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 - name: DATABASE_URL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:

Loading…
Cancel
Save