2023-12-24 15:34:33 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
2024-02-17 20:18:21 +00:00
|
|
|
name: open-webui-service
|
2023-12-24 15:34:33 +00:00
|
|
|
namespace: {{ .Values.namespace }}
|
|
|
|
spec:
|
2023-12-28 15:28:09 +00:00
|
|
|
type: {{ .Values.webui.service.type }} # Default: NodePort # Use LoadBalancer if you're on a cloud that supports it
|
2023-12-24 15:34:33 +00:00
|
|
|
selector:
|
2024-02-17 20:18:21 +00:00
|
|
|
app: open-webui
|
2023-12-24 15:34:33 +00:00
|
|
|
ports:
|
|
|
|
- protocol: TCP
|
|
|
|
port: {{ .Values.webui.servicePort }}
|
|
|
|
targetPort: {{ .Values.webui.servicePort }}
|
|
|
|
# If using NodePort, you can optionally specify the nodePort:
|
|
|
|
# nodePort: 30000
|