Update ingress
This commit is contained in:
parent
90c42c6d18
commit
ee52250090
@ -13,7 +13,8 @@ kind: Secret
|
||||
stringData:
|
||||
{{- end }}
|
||||
{{- with $v.data }}
|
||||
{{ toYaml . | indent 2}}
|
||||
{{- range $k, $v := $v.data }}
|
||||
{{ $k }}: {{ $v | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user