feature: Add Label Configuration for ollama Service in values.yaml #5

Closed
opened 2026-02-15 19:15:19 -05:00 by yindo · 5 comments
Owner

Originally created by @stepanbaghdasaryan on GitHub (May 7, 2024).

Description:
Currently, there is no option to configure labels for the ollama service in the values.yaml file. This feature is important for customizing specific configurations for the service and managing them effectively. This issue aims to add this functionality by making labels for the ollama service configurable in the values.yaml file.

Expected Behavior:
It should be possible to configure labels for the ollama service in the values.yaml file to allow flexible customization of the configuration.

Add the following configuration in values.yaml:

ollama:
  service:
    labels:
      my.custom.label: example-label

Use the helm template command to ensure that the configuration has been applied correctly. yq Package is necessary for the following command:

helm template \
    open-webui \
    . \
    -n open-webui \
    -f values.yaml \
  |yq 'select(.kind=="Service")' | yq 'select(.metadata.name=="ollama")'
apiVersion: v1
kind: Service
metadata:
  name: ollama
  labels:
    my.custom.label: example-label
    ...
...

Additional Information:

  • A fork of the repository has been created to implement this functionality. A pull request will be made upon completion of this issue.
Originally created by @stepanbaghdasaryan on GitHub (May 7, 2024). **Description:** Currently, there is no option to configure labels for the `ollama` service in the `values.yaml` file. This feature is important for customizing specific configurations for the service and managing them effectively. This issue aims to add this functionality by making labels for the `ollama` service configurable in the `values.yaml` file. **Expected Behavior:** It should be possible to configure labels for the `ollama` service in the `values.yaml` file to allow flexible customization of the configuration. Add the following configuration in values.yaml: ```yaml ollama: service: labels: my.custom.label: example-label ``` Use the `helm template` command to ensure that the configuration has been applied correctly. [yq](https://mikefarah.gitbook.io/yq/v/v3.x#install) Package is necessary for the following command: ```bash helm template \ open-webui \ . \ -n open-webui \ -f values.yaml \ |yq 'select(.kind=="Service")' | yq 'select(.metadata.name=="ollama")' ``` ```yaml apiVersion: v1 kind: Service metadata: name: ollama labels: my.custom.label: example-label ... ... ``` **Additional Information:** - A fork of the repository has been created to implement this functionality. A [pull request](https://github.com/open-webui/helm-charts/pull/9) will be made upon completion of this issue.
yindo closed this issue 2026-02-15 19:15:19 -05:00
Author
Owner

@westbrook-ai commented on GitHub (May 7, 2024):

Hey @stepanbaghdasaryan, that looks like a great change to have. I'm curious to get your thoughts in https://github.com/open-webui/helm-charts/issues/5 which proposes to move work away from using our own Ollama templates on this repo, and instead pulling a separate Ollama chart that's more advanced as a dependency to this one.

@westbrook-ai commented on GitHub (May 7, 2024): Hey @stepanbaghdasaryan, that looks like a great change to have. I'm curious to get your thoughts in https://github.com/open-webui/helm-charts/issues/5 which proposes to move work away from using our own Ollama templates on this repo, and instead pulling a separate Ollama chart that's more advanced as a dependency to this one.
Author
Owner

@stepanbaghdasaryan commented on GitHub (May 8, 2024):

@0xThresh I've posted my opinion in your issue https://github.com/open-webui/helm-charts/issues/5#issuecomment-2099901798, and we can continue discussing it there.

@stepanbaghdasaryan commented on GitHub (May 8, 2024): @0xThresh I've posted my opinion in your issue https://github.com/open-webui/helm-charts/issues/5#issuecomment-2099901798, and we can continue discussing it there.
Author
Owner

@stepanbaghdasaryan commented on GitHub (May 8, 2024):

No new Helm chart has been built with this change yet; version 1.0.1 is still present in the repository.

@stepanbaghdasaryan commented on GitHub (May 8, 2024): No new Helm chart has been built with this change yet; version 1.0.1 is still present in the repository.
Author
Owner

@westbrook-ai commented on GitHub (May 9, 2024):

Looks like we have the 2.x charts deployed now, do those include the fixes you merged in?

@westbrook-ai commented on GitHub (May 9, 2024): Looks like we have the 2.x charts deployed now, do those include the fixes you merged in?
Author
Owner

@robrakaric commented on GitHub (May 9, 2024):

The move to 2.x removed the Ollama resource definitions, so the addition of labels for Ollama would no longer apply to this chart. Would recommend submitting a PR to https://github.com/otwld/ollama-helm to get service labels added to the Ollama chart itself. After that chart is released, a dependency update and minor version increment would be done on the open-webui chart in order to include the new ollama chart as a dependency.

@robrakaric commented on GitHub (May 9, 2024): The move to 2.x removed the `Ollama` resource definitions, so the addition of labels for `Ollama` would no longer apply to this chart. Would recommend submitting a PR to https://github.com/otwld/ollama-helm to get service labels added to the Ollama chart itself. After that chart is released, a dependency update and minor version increment would be done on the `open-webui` chart in order to include the new `ollama` chart as a dependency.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/helm-charts#5