Improving DRY principle support on gitea Ingress host name

This commit is contained in:
Ceddaerrix 2023-09-01 10:12:59 +00:00
parent 453ab0e211
commit accf620a30

View File

@ -28,14 +28,14 @@ spec:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
- {{ tpl . $ | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
- host: {{ tpl .host $ | quote }}
http:
paths:
{{- range .paths }}