Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
move tls config for render
Browse files Browse the repository at this point in the history
  • Loading branch information
WafflesVonMaple committed Nov 14, 2023
1 parent 3b858dc commit 6408084
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/sequencer/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ spec:
defaultBackend:
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
{{- with $ingress.tls }}
tls:
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
rules:
{{- if $ingress.hosts }}
{{- range $ingress.hosts }}
Expand All @@ -60,10 +64,6 @@ spec:
servicePort: {{ $servicePort }}
{{- end }}
{{- end }}
{{- with $ingress.tls }}
tls:
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
{{- else if $ingress.hostname }}
- host: {{ $service }}.{{ $ingress.hostname }}
http:
Expand Down

0 comments on commit 6408084

Please sign in to comment.