Fix fronttend-ingress template

This commit is contained in:
dvirlabs 2025-06-05 01:46:20 +03:00
parent 23eb0dc0e1
commit 526b48b4ec

View File

@ -10,14 +10,18 @@ metadata:
spec: spec:
ingressClassName: {{ .Values.frontend.ingress.className }} ingressClassName: {{ .Values.frontend.ingress.className }}
rules: rules:
- host: {{ .Values.frontend.ingress.hosts[0].host }} {{- range .Values.frontend.ingress.hosts }}
- host: {{ .host }}
http: http:
paths: paths:
- path: {{ .Values.frontend.ingress.hosts[0].paths[0].path }} {{- range .paths }}
pathType: {{ .Values.frontend.ingress.hosts[0].paths[0].pathType }} - path: {{ .path }}
pathType: {{ .pathType }}
backend: backend:
service: service:
name: navix-frontend name: navix-frontend
port: port:
number: {{ .Values.frontend.service.port }} number: {{ $.Values.frontend.service.port }}
{{- end }} {{- end }}
{{- end }}
{{- end }}