Skip to content

Commit e27c636

Browse files
committed
CH-246 fix ingress redirect
1 parent 3824d59 commit e27c636

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deployment-configuration/helm/templates/ingress.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,13 @@ spec:
9191
rules:
9292
{{- range $app := .Values.apps }}
9393
{{- if (and $mainapp (and $app.harness.name (eq $app.harness.name $mainapp))) }}
94+
{{- if ne $app.harness.subdomain "www" }}
9495
- host: {{ $domain | quote }}
9596
{{ include "deploy_utils.ingress.http" (dict "root" $ "app" $app "subdomain" $app.harness.subdomain) }}
9697
{{- range $service := $app.harness.use_services }}
9798
{{ include "deploy_utils.ingress.service" (dict "root" $ "service_name" $service.name) }}
9899
{{- end }}
100+
{{- end }}
99101
{{- end }}
100102
{{- if $app.harness.domain }}
101103
- host: {{ $app.harness.domain | quote }}

0 commit comments

Comments
 (0)