mirror of
https://github.com/open-webui/helm-charts
synced 2025-06-16 11:31:30 +00:00
Merge pull request #106 from zadjadr/zadjadr/ingress
feat: allow additionalHosts for ingress
This commit is contained in:
commit
01fd07172c
@ -17,6 +17,9 @@ spec:
|
|||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- {{ .Values.ingress.host | quote }}
|
- {{ .Values.ingress.host | quote }}
|
||||||
|
{{- range .Values.ingress.additionalHosts }}
|
||||||
|
- {{ . | quote }}
|
||||||
|
{{- end }}
|
||||||
secretName: {{ default (printf "%s-tls" .Release.Name) .Values.ingress.existingSecret }}
|
secretName: {{ default (printf "%s-tls" .Release.Name) .Values.ingress.existingSecret }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
rules:
|
rules:
|
||||||
@ -30,4 +33,16 @@ spec:
|
|||||||
name: {{ include "open-webui.name" . }}
|
name: {{ include "open-webui.name" . }}
|
||||||
port:
|
port:
|
||||||
name: http
|
name: http
|
||||||
|
{{- range .Values.ingress.additionalHosts }}
|
||||||
|
- host: {{ . | quote }}
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: {{ include "open-webui.name" $ }}
|
||||||
|
port:
|
||||||
|
name: http
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -57,6 +57,7 @@ ingress:
|
|||||||
# nginx.ingress.kubernetes.io/rewrite-target: /
|
# nginx.ingress.kubernetes.io/rewrite-target: /
|
||||||
annotations: {}
|
annotations: {}
|
||||||
host: ""
|
host: ""
|
||||||
|
additionalHosts: []
|
||||||
tls: false
|
tls: false
|
||||||
existingSecret: ""
|
existingSecret: ""
|
||||||
persistence:
|
persistence:
|
||||||
|
Loading…
Reference in New Issue
Block a user