diff --git a/apps/dashboard/deployment/ci-cd/helm/templates/ingress.yaml b/apps/dashboard/deployment/ci-cd/helm/templates/ingress.yaml index 95517eaa8d1fda54ca824473af2716fee4790e3d..c2f8f8dec5c0e8ae994424cd40dcdb28c318984f 100644 --- a/apps/dashboard/deployment/ci-cd/helm/templates/ingress.yaml +++ b/apps/dashboard/deployment/ci-cd/helm/templates/ingress.yaml @@ -10,6 +10,9 @@ metadata: {{- else if eq .Release.Namespace "ocm-test" }} annotations: {{ toYaml .Values.ingress.ocmtest.annotations | indent 4 }} + {{- else if eq .Release.Namespace "swissrun" }} + annotations: +{{ toYaml .Values.ingress.swissrun.annotations | indent 4 }} {{- end }} labels: {{- include "app.labels" . | nindent 4 }} @@ -43,5 +46,16 @@ spec: name: {{ template "app.name" . }} port: number: {{ .Values.service.port }} + {{- else if eq .Release.Namespace "swissrun" }} + - host: {{ .Values.ingress.frontendDomain }} + http: + paths: + - path: /swissrun/dashboard(/|$)(.*) + pathType: Prefix + backend: + service: + name: {{ template "app.name" . }} + port: + number: {{ .Values.service.port }} {{- end }} {{- end }}