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:
Timothy Jaeryang Baek 2024-05-07 15:16:39 -07:00 committed by GitHub
commit 8b18b03677
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -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 }}

View File

@ -29,6 +29,7 @@ ollama:
service:
type: ClusterIP
annotations: {}
labels: {}
port: 80
containerPort: 11434
gpu:
@ -72,4 +73,4 @@ webui:
containerPort: 8080
nodePort: ""
labels: {}
loadBalancerClass: ""
loadBalancerClass: ""