Skip to content

Commit

Permalink
Merge pull request #9 from stepanbaghdasaryan/feature/add-label-confi…
Browse files Browse the repository at this point in the history
…guration-ollama-service

feat: add feature to configure ollama service labels via values
  • Loading branch information
tjbck authored May 7, 2024
2 parents 725043e + 603ee8c commit 8b18b03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions charts/open-webui/templates/ollama-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ metadata:
name: {{ include "ollama.name" . }}
labels:
{{- include "ollama.labels" . | nindent 4 }}
{{- with .Values.ollama.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.ollama.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
3 changes: 2 additions & 1 deletion charts/open-webui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ ollama:
service:
type: ClusterIP
annotations: {}
labels: {}
port: 80
containerPort: 11434
gpu:
Expand Down Expand Up @@ -72,4 +73,4 @@ webui:
containerPort: 8080
nodePort: ""
labels: {}
loadBalancerClass: ""
loadBalancerClass: ""

0 comments on commit 8b18b03

Please sign in to comment.