kserve ingress update

This commit is contained in:
ychangkim
2025-07-21 15:02:45 +09:00
parent d872a6dc6f
commit 7d61034bad
4 changed files with 34 additions and 32 deletions
+8 -5
View File
@@ -11,21 +11,24 @@ metadata:
spec:
ingressClassName: {{ .Values.ingress.className }}
rules:
- host: {{ if .Values.ingress.host.wildcard }}*.{{ end }}{{ .Values.ingress.host.domain }}
{{- range .Values.ingress.hosts }}
- host: {{ .host }}
http:
paths:
- backend:
service:
name: {{ .Values.ingress.backend.service.name }}
name: {{ $.Values.ingress.backend.service.name }}
port:
number: {{ .Values.ingress.backend.service.port }}
number: {{ $.Values.ingress.backend.service.port }}
path: /
pathType: Prefix
{{- end }}
{{- if .Values.ingress.tls.enabled }}
tls:
- hosts:
- {{ .Values.ingress.host.domain }}
- {{ if .Values.ingress.host.wildcard }}*.{{ end }}{{ .Values.ingress.host.domain }}
{{- range .Values.ingress.hosts }}
- {{ .host }}
{{- end }}
secretName: {{ .Values.ingress.tls.secretName }}
{{- end }}
{{- end }}