Update ingress

This commit is contained in:
2024-07-15 07:47:25 +02:00
parent 90c42c6d18
commit ee52250090
2 changed files with 4 additions and 2 deletions

View File

@ -17,11 +17,12 @@ metadata:
{{- include "lib.metadata" (dict "Context" $ "customName" $customName "annotations" $v.annotations)}}
spec:
ingressClassName: {{ $v.class }}
rules:
{{- with $v.rules }}
rules:
{{- tpl ( . | toYaml | nindent 4 | toString) $ }}
{{- end }}
{{- with $v.tls }}
tls:
{{- tpl ( . | toYaml | nindent 4 | toString) $ }}
{{- end }}
{{- end }}