Add an ability to install ingress

This commit is contained in:
Nikolai Rodionov 2024-07-15 07:23:53 +02:00
parent df0483ce13
commit 90c42c6d18
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -16,7 +16,7 @@ kind: Ingress
metadata: metadata:
{{- include "lib.metadata" (dict "Context" $ "customName" $customName "annotations" $v.annotations)}} {{- include "lib.metadata" (dict "Context" $ "customName" $customName "annotations" $v.annotations)}}
spec: spec:
ingressClassName: $v.class ingressClassName: {{ $v.class }}
rules: rules:
{{- with $v.rules }} {{- with $v.rules }}
{{- tpl ( . | toYaml | nindent 4 | toString) $ }} {{- tpl ( . | toYaml | nindent 4 | toString) $ }}