Skip to content

Commit

Permalink
Proper setup for route and ingress. Fixes #107
Browse files Browse the repository at this point in the history
  • Loading branch information
rigazilla authored and ryanemerson committed Feb 19, 2024
1 parent 8e0f79a commit a7d7176
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions templates/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ metadata:
{{- if .Values.deploy.expose.annotations }}
{{- end }}
spec:
{{- if and .Values.deploy.ssl (ne .Values.deploy.ssl.endpointSecretName "")}}
tls:
termination: passthrough
{{- end }}
{{- if .Values.deploy.expose.host }}
host: {{ .Values.deploy.expose.host | quote }} }
{{- end }}
Expand Down Expand Up @@ -53,5 +57,12 @@ spec:
host: {{ .Values.deploy.expose.host | quote }}
{{- else }}
{{- end }}
{{- if and .Values.deploy.ssl (ne .Values.deploy.ssl.endpointSecretName "")}}
tls:
- hosts:
{{- if .Values.deploy.expose.host }}
- {{ .Values.deploy.expose.host | quote }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit a7d7176

Please sign in to comment.