mirror of
https://github.com/open-webui/open-webui
synced 2024-11-17 05:53:11 +00:00
20 lines
427 B
YAML
20 lines
427 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "open-webui.name" . }}
|
|
labels:
|
|
{{- include "open-webui.labels" . | nindent 4 }}
|
|
spec:
|
|
selector:
|
|
{{- include "open-webui.selectorLabels" . | nindent 4 }}
|
|
{{- with .Values.webui.service }}
|
|
type: {{ .type }}
|
|
ports:
|
|
- protocol: TCP
|
|
port: http
|
|
targetPort: {{ .port }}
|
|
{{- if .nodePort }}
|
|
nodePort: {{ .nodePort }}
|
|
{{- end }}
|
|
{{- end }}
|