Commit b66495a5 authored by Dominik Hebeler's avatar Dominik Hebeler

fixed an error

parent a8da3be5
......@@ -21,13 +21,14 @@ spec:
secretName: {{ .Values.ingress.tls.secretName | default (printf "%s-redirects-tls" (include "fullname" .)) }}
{{- end }}
rules:
{{- $dot := . }}
{{- range $host := .Values.service.redirectHosts }}
- host: {{ $host }}
http:
paths:
- path: /
backend:
serviceName: {{ template "fullname" . }}
serviceName: {{ template "fullname" $dot }}
servicePort: {{ .Values.service.externalPort }}
{{- end -}}
{{- end }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment