Fix fronttend-ingress template
This commit is contained in:
parent
23eb0dc0e1
commit
526b48b4ec
@ -10,14 +10,18 @@ metadata:
|
||||
spec:
|
||||
ingressClassName: {{ .Values.frontend.ingress.className }}
|
||||
rules:
|
||||
- host: {{ .Values.frontend.ingress.hosts[0].host }}
|
||||
{{- range .Values.frontend.ingress.hosts }}
|
||||
- host: {{ .host }}
|
||||
http:
|
||||
paths:
|
||||
- path: {{ .Values.frontend.ingress.hosts[0].paths[0].path }}
|
||||
pathType: {{ .Values.frontend.ingress.hosts[0].paths[0].pathType }}
|
||||
{{- range .paths }}
|
||||
- path: {{ .path }}
|
||||
pathType: {{ .pathType }}
|
||||
backend:
|
||||
service:
|
||||
name: navix-frontend
|
||||
port:
|
||||
number: {{ .Values.frontend.service.port }}
|
||||
{{- end }}
|
||||
number: {{ $.Values.frontend.service.port }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user