diff --git a/charts/open-webui/templates/ollama-service.yaml b/charts/open-webui/templates/ollama-service.yaml index 32c93ca..d2848a3 100644 --- a/charts/open-webui/templates/ollama-service.yaml +++ b/charts/open-webui/templates/ollama-service.yaml @@ -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 }} diff --git a/charts/open-webui/values.yaml b/charts/open-webui/values.yaml index 4437973..81a4197 100644 --- a/charts/open-webui/values.yaml +++ b/charts/open-webui/values.yaml @@ -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: ""