Open-source personal finance manager. Self-hosted, privacy-first.
fix(helm) nginx dns resolution failure (#868)
jorishaenseler15aa567a043b4d
diff --git a/charts/securo/templates/common/httproute.yaml b/charts/securo/templates/common/httproute.yamlindex 0181d317..3a92e47c 100644--- a/charts/securo/templates/common/httproute.yaml+++ b/charts/securo/templates/common/httproute.yaml@@ -11,6 +11,13 @@ spec:hostnames:- {{ .Values.global.domain | quote }}rules:+ - matches:+ - path:+ type: PathPrefix+ value: /api+ backendRefs:+ - name: {{ include "securo.fullname" . }}-backend+ port: {{ .Values.backend.service.port }}- matches:- path:type: PathPrefixdiff --git a/charts/securo/templates/common/ingress.yaml b/charts/securo/templates/common/ingress.yamlindex 42981982..9b29dc17 100644--- a/charts/securo/templates/common/ingress.yaml+++ b/charts/securo/templates/common/ingress.yaml@@ -27,6 +27,13 @@ spec:- host: {{ .Values.global.domain | quote }}http:paths:+ - path: /api+ pathType: Prefix+ backend:+ service:+ name: {{ include "securo.fullname" $ }}-backend+ port:+ name: http- path: /pathType: Prefixbackend:diff --git a/charts/securo/templates/frontend/deployment.yaml b/charts/securo/templates/frontend/deployment.yamlindex 2bef493b..cda07cb4 100644--- a/charts/securo/templates/frontend/deployment.yaml+++ b/charts/securo/templates/frontend/deployment.yaml@@ -44,7 +44,7 @@ spec:periodSeconds: 10env:- name: BACKEND_URL- value: "http://{{ include "securo.fullname" . }}-backend:8000"+ value: {{ default (printf "http://%s-backend.%s.svc.cluster.local:%v" (include "securo.fullname" .) .Release.Namespace .Values.backend.service.port) .Values.frontend.backendUrl | quote }}- name: FRONTEND_URLvalue: {{ include "securo.frontendUrl" . | quote }}volumeMounts:diff --git a/charts/securo/values.yaml b/charts/securo/values.yamlindex 1e9fb292..904efb7e 100644--- a/charts/securo/values.yaml+++ b/charts/securo/values.yaml@@ -111,6 +111,7 @@ backend:# Frontend configurationfrontend:+ backendUrl: ""replicaCount: 1image:repository: ghcr.io/securo-finance/securo-frontend