{{- if .Values.ingress.www.enabled }} apiVersion: route.openshift.io/v1 kind: Route metadata: name: {{ template "landing.routename" . }}-www namespace: {{ .Release.Namespace }} labels: app: {{ template "landing.name" . }} spec: host: www.{{ .Values.ingress.host }} to: kind: Service name: {{ template "landing.name" . }} port: targetPort: 8080 tls: termination: edge insecureEdgeTerminationPolicy: Redirect {{- end }}