Commit b66495a5 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed an error

parent a8da3be5
...@@ -21,13 +21,14 @@ spec: ...@@ -21,13 +21,14 @@ spec:
secretName: {{ .Values.ingress.tls.secretName | default (printf "%s-redirects-tls" (include "fullname" .)) }} secretName: {{ .Values.ingress.tls.secretName | default (printf "%s-redirects-tls" (include "fullname" .)) }}
{{- end }} {{- end }}
rules: rules:
{{- $dot := . }}
{{- range $host := .Values.service.redirectHosts }} {{- range $host := .Values.service.redirectHosts }}
- host: {{ $host }} - host: {{ $host }}
http: http:
paths: paths:
- path: / - path: /
backend: backend:
serviceName: {{ template "fullname" . }} serviceName: {{ template "fullname" $dot }}
servicePort: {{ .Values.service.externalPort }} servicePort: {{ .Values.service.externalPort }}
{{- end -}} {{- end -}}
{{- end }} {{- end }}
......
Supports Markdown
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