forked from open-webui/open-webui
21 lines
540 B
YAML
21 lines
540 B
YAML
|
apiVersion: networking.k8s.io/v1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: ollama-webui-ingress
|
||
|
namespace: {{ .Values.namespace }}
|
||
|
#annotations:
|
||
|
# Use appropriate annotations for your Ingress controller, e.g., for NGINX:
|
||
|
# nginx.ingress.kubernetes.io/rewrite-target: /
|
||
|
spec:
|
||
|
rules:
|
||
|
- host: {{ .Values.webui.ingress.host }}
|
||
|
http:
|
||
|
paths:
|
||
|
- path: /
|
||
|
pathType: Prefix
|
||
|
backend:
|
||
|
service:
|
||
|
name: ollama-webui-service
|
||
|
port:
|
||
|
number: {{ .Values.webui.servicePort }}
|