Commit c085a9d2 authored by Dominik Hebeler's avatar Dominik Hebeler

yaml syntax error

parent a6055f32
{{- if .Values.service.redirectHosts }}
{{- if .Values.service.redirectHosts -}}
{{- if .Values.service.enabled -}}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ template "fullname" . }}-redirects
name: {{ template "fullname" . -}}-redirects
labels:
app: {{ template "appname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version| replace "+" "_" }}"
chart: "{{ .Chart.Name -}}-{{- .Chart.Version| replace "+" "_" }}"
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
heritage: {{ .Release.Service }}
annotations:
ingress.kubernetes.io/configuration-snippet: "return 301 $scheme://{{ template "hostname" .Values.service.url }}$request_uri;"
spec:
......
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