mirror of
https://github.com/open-webui/helm-charts
synced 2025-06-26 18:16:14 +00:00
Merge pull request #9 from stepanbaghdasaryan/feature/add-label-configuration-ollama-service
feat: add feature to configure ollama service labels via values
This commit is contained in:
commit
8b18b03677
@ -5,6 +5,9 @@ metadata:
|
|||||||
name: {{ include "ollama.name" . }}
|
name: {{ include "ollama.name" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "ollama.labels" . | nindent 4 }}
|
{{- include "ollama.labels" . | nindent 4 }}
|
||||||
|
{{- with .Values.ollama.service.labels }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.ollama.service.annotations }}
|
{{- with .Values.ollama.service.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
|
@ -29,6 +29,7 @@ ollama:
|
|||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
labels: {}
|
||||||
port: 80
|
port: 80
|
||||||
containerPort: 11434
|
containerPort: 11434
|
||||||
gpu:
|
gpu:
|
||||||
|
Loading…
Reference in New Issue
Block a user