Skip to content

Commit 8e16f7a

Browse files
committed
Fix conflicting tls ingress certificate issued
1 parent bbd1ea1 commit 8e16f7a

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

deployment-configuration/helm/templates/ingress.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ spec:
146146
{{- end }}
147147
{{- end }}
148148
{{- if (and $mainapp (and $app.harness.name (eq $app.harness.name $mainapp))) }}
149-
{{- if and $app.harness.subdomain (ne $app.harness.subdomain "www") }}
150149
- {{ $domain | quote }}
151-
{{- end }}
152150
{{- end }}
153151
secretName: {{ printf "tls-secret-%s" $appIngressName }}
154152
{{- end }}
@@ -198,17 +196,6 @@ spec:
198196
{{ include "deploy_utils.ingress.service" (dict "root" $ "service_name" $service.name) }}
199197
{{- end }}
200198
{{- end }}
201-
{{- if $tls }}
202-
tls:
203-
- hosts:
204-
{{- if $app.harness.subdomain }}
205-
- {{ printf "%s.%s" $app.harness.subdomain $domain | quote }}
206-
{{- end }}
207-
{{- if (and $mainapp (and $app.harness.name (eq $app.harness.name $mainapp))) }}
208-
- {{ $domain | quote }}
209-
{{- end }}
210-
secretName: {{ printf "tls-secret-%s" $appIngressName }}
211-
{{- end }}
212199
{{- end }}
213200
{{- end }}
214201
{{- end }}

0 commit comments

Comments
 (0)