Skip to content
Snippets Groups Projects
Commit 67997154 authored by Kalin Daskalov's avatar Kalin Daskalov
Browse files

Update deployment configurations for swissrun agent and dashboard

parent e44c0e14
Branches
No related tags found
No related merge requests found
Pipeline #70661 failed
......@@ -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 }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment