mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 16:22:44 +00:00
18 lines
362 B
YAML
18 lines
362 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "ollama.name" . }}
|
|
labels:
|
|
{{- include "ollama.labels" . | nindent 4 }}
|
|
spec:
|
|
selector:
|
|
{{- include "ollama.selectorLabels" . | nindent 4 }}
|
|
{{- with .Values.ollama.service }}
|
|
type: {{ .type }}
|
|
ports:
|
|
- protocol: TCP
|
|
name: http
|
|
port: http
|
|
targetPort: {{ .port }}
|
|
{{- end }}
|