diff --git a/contrib/chart/backstage/templates/ingress.yaml b/contrib/chart/backstage/templates/ingress.yaml index a4a3c0ff00..2ff713a3b6 100644 --- a/contrib/chart/backstage/templates/ingress.yaml +++ b/contrib/chart/backstage/templates/ingress.yaml @@ -8,14 +8,25 @@ metadata: {{- end }} spec: rules: - - http: - paths: - - path: /api - backend: - serviceName: {{ include "backend.serviceName" . }} - servicePort: 80 - - path: / - backend: - serviceName: {{ include "frontend.serviceName" . }} - servicePort: 80 + - host: {{ .Values.appConfig.app.baseUrl | trimPrefix "https://" | trimSuffix "/" }} + http: + paths: + - path: / + backend: + serviceName: {{ include "frontend.serviceName" . }} + servicePort: 80 + - host: {{ .Values.appConfig.backend.baseUrl | trimPrefix "https://" | trimSuffix "/" }} + http: + paths: + - path: /api + backend: + serviceName: {{ include "backend.serviceName" . }} + servicePort: 80 + - host: {{ .Values.appConfig.lighthouse.baseUrl | trimPrefix "https://" | trimSuffix "/" }} + http: + paths: + - path: / + backend: + serviceName: {{ include "lighthouse.serviceName" . }} + servicePort: 80