mirror of
https://github.com/open-webui/helm-charts
synced 2025-06-26 18:16:14 +00:00
feat: add feature to configure ollama service labels via values
This commit adds the ability to configure labels for the ollama service in the values.yaml file. Users can now specify custom labels for the ollama service, providing greater flexibility in managing its configuration.
This commit is contained in:
parent
725043ee13
commit
603ee8cde5
@ -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