ingress.yaml

This commit is contained in:
titver968
2025-03-05 21:22:15 +01:00
parent 9d9c22ea14
commit 87eb02781d
4 changed files with 13 additions and 15 deletions

View File

@@ -9,12 +9,11 @@ spec:
ingressClassName: {{ .Values.ingress.className }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host }}
- host: {{ . }}
http:
paths:
{{- range .paths }}
- path: {{ .path }}
pathType: {{ .pathType }}
- path: {{ $.Values.ingress.path }}
pathType: {{ $.Values.ingress.pathType }}
backend:
service:
name: {{ $fullName }}
@@ -26,4 +25,3 @@ spec:
tls:
{{- toYaml .Values.ingress.tls | nindent 4 }}
{{- end }}
{{- end }}