webui-ingress.yaml 548 Bytes
Newer Older
1
{{- if .Values.webui.ingress.enabled }}
2
3
4
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
Bjørn Jørgensen's avatar
Bjørn Jørgensen committed
5
  name: open-webui-ingress
6
7
8
9
{{- if .Values.webui.ingress.annotations }}
  annotations:
{{ toYaml .Values.webui.ingress.annotations | trimSuffix "\n" | indent 4 }}
{{- end }}
10
11
12
13
14
15
16
17
18
spec:
  rules:
  - host: {{ .Values.webui.ingress.host }}
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
Bjørn Jørgensen's avatar
Bjørn Jørgensen committed
19
            name: open-webui-service
20
21
            port:
              number: {{ .Values.webui.servicePort }}
22
{{- end }}