webui-service.yaml 453 Bytes
Newer Older
1
2
3
apiVersion: v1
kind: Service
metadata:
duhow's avatar
duhow committed
4
  name: {{ include "open-webui.name" . }}
5
spec:
6
  type: {{ .Values.webui.service.type }} # Default: NodePort  # Use LoadBalancer if you're on a cloud that supports it
7
  selector:
Bjørn Jørgensen's avatar
Bjørn Jørgensen committed
8
    app: open-webui
9
10
11
12
13
  ports:
    - protocol: TCP
      port: {{ .Values.webui.servicePort }}
      targetPort: {{ .Values.webui.servicePort }}
      # If using NodePort, you can optionally specify the nodePort:
duhow's avatar
duhow committed
14
      # nodePort: 30000