[GH-ISSUE #158] Ollama models config incorrect #59

Closed
opened 2026-10-18 21:05:21 +00:00 by bsakaguchi · 4 comments
Owner

Originally created by @s-bernhardt on GitHub (Feb 9, 2025).
Original GitHub issue: https://github.com/open-webui/helm-charts/issues/158

current values.yaml

ollama:
  # -- Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure
  enabled: true
  # -- If enabling embedded Ollama, update fullnameOverride to your desired Ollama name value, or else it will use the default ollama.name value from the Ollama chart
  fullnameOverride: "open-webui-ollama"
  # -- Example Ollama configuration with nvidia GPU enabled, automatically downloading a model, and deploying a PVC for model persistence
  # ollama:
  #   gpu:
  #     enabled: true
  #     type: 'nvidia'
  #     number: 1
  #   models:
  #     - llama3
  # runtimeClassName: nvidia
  # persistentVolume:
  #   enabled: true
  #   volumeName: "example-pre-existing-pv-created-by-smb-csi"

Helm Error:

$ helm upgrade --install open-webui open-webui/open-webui --values ollama-webui-values.yaml
coalesce.go:286: warning: cannot overwrite table with non table for open-webui.ollama.ollama.models (map[pull:[] run:[]])
coalesce.go:286: warning: cannot overwrite table with non table for open-webui.ollama.ollama.models (map[pull:[] run:[]])
coalesce.go:286: warning: cannot overwrite table with non table for open-webui.ollama.ollama.models (map[pull:[] run:[]])
Error: UPGRADE FAILED: template: open-webui/charts/ollama/templates/deployment.yaml:148:27: executing "open-webui/charts/ollama/templates/deployment.yaml" at <.Values.ollama.models.pull>: can't evaluate field pull in type interface {}

Parameter is ollama.ollama.models.pull
see: https://github.com/otwld/ollama-helm/blob/main/values.yaml#L79

correct comment:

ollama:
  # -- Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure
  enabled: true
  # -- If enabling embedded Ollama, update fullnameOverride to your desired Ollama name value, or else it will use the default ollama.name value from the Ollama chart
  fullnameOverride: "open-webui-ollama"
  # -- Example Ollama configuration with nvidia GPU enabled, automatically downloading a model, and deploying a PVC for model persistence
  # ollama:
  #   gpu:
  #     enabled: true
  #     type: 'nvidia'
  #     number: 1
  #   models:
  #     pull:
  #      - llama3
  # runtimeClassName: nvidia
  # persistentVolume:
  #   enabled: true
  #   volumeName: "example-pre-existing-pv-created-by-smb-csi"
Originally created by @s-bernhardt on GitHub (Feb 9, 2025). Original GitHub issue: https://github.com/open-webui/helm-charts/issues/158 current values.yaml ```yaml ollama: # -- Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure enabled: true # -- If enabling embedded Ollama, update fullnameOverride to your desired Ollama name value, or else it will use the default ollama.name value from the Ollama chart fullnameOverride: "open-webui-ollama" # -- Example Ollama configuration with nvidia GPU enabled, automatically downloading a model, and deploying a PVC for model persistence # ollama: # gpu: # enabled: true # type: 'nvidia' # number: 1 # models: # - llama3 # runtimeClassName: nvidia # persistentVolume: # enabled: true # volumeName: "example-pre-existing-pv-created-by-smb-csi" ``` Helm Error: ```bash $ helm upgrade --install open-webui open-webui/open-webui --values ollama-webui-values.yaml coalesce.go:286: warning: cannot overwrite table with non table for open-webui.ollama.ollama.models (map[pull:[] run:[]]) coalesce.go:286: warning: cannot overwrite table with non table for open-webui.ollama.ollama.models (map[pull:[] run:[]]) coalesce.go:286: warning: cannot overwrite table with non table for open-webui.ollama.ollama.models (map[pull:[] run:[]]) Error: UPGRADE FAILED: template: open-webui/charts/ollama/templates/deployment.yaml:148:27: executing "open-webui/charts/ollama/templates/deployment.yaml" at <.Values.ollama.models.pull>: can't evaluate field pull in type interface {} ``` Parameter is `ollama.ollama.models.pull` see: https://github.com/otwld/ollama-helm/blob/main/values.yaml#L79 correct comment: ```yaml ollama: # -- Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure enabled: true # -- If enabling embedded Ollama, update fullnameOverride to your desired Ollama name value, or else it will use the default ollama.name value from the Ollama chart fullnameOverride: "open-webui-ollama" # -- Example Ollama configuration with nvidia GPU enabled, automatically downloading a model, and deploying a PVC for model persistence # ollama: # gpu: # enabled: true # type: 'nvidia' # number: 1 # models: # pull: # - llama3 # runtimeClassName: nvidia # persistentVolume: # enabled: true # volumeName: "example-pre-existing-pv-created-by-smb-csi" ```
Author
Owner

@james-westbrook commented on GitHub (Feb 9, 2025):

Thanks for the catch @s-bernhardt, our comment is outdated due to some updates the Ollama chart did recently. Would you like to submit a PR to correct our values example?

<!-- gh-comment-id:2646546038 --> @james-westbrook commented on GitHub (Feb 9, 2025): Thanks for the catch @s-bernhardt, our comment is outdated due to some updates the Ollama chart did recently. Would you like to submit a PR to correct our values example?
Author
Owner

@s-bernhardt commented on GitHub (Feb 10, 2025):

sure, I was about to push the branch with my changes, but I had no permission.

<!-- gh-comment-id:2647336554 --> @s-bernhardt commented on GitHub (Feb 10, 2025): sure, I was about to push the branch with my changes, but I had no permission.
Author
Owner

@jyje commented on GitHub (Feb 10, 2025):

@s-bernhardt You can fork and send PR! please see CONTRIBUTING

or...

I can make PR for this. please feel free to tell me

<!-- gh-comment-id:2647554348 --> @jyje commented on GitHub (Feb 10, 2025): @s-bernhardt You can fork and send PR! please see [CONTRIBUTING](https://github.com/open-webui/helm-charts/blob/main/CONTRIBUTING.md#how-to-contribute) or... I can make PR for this. please feel free to tell me
Author
Owner

@s-bernhardt commented on GitHub (Feb 10, 2025):

Understood. I think it's quicker if you create a little PR for this. as the change is only the 2 lines of comment.

  #     pull:
  #      - llama3
<!-- gh-comment-id:2647582760 --> @s-bernhardt commented on GitHub (Feb 10, 2025): Understood. I think it's quicker if you create a little PR for this. as the change is only the 2 lines of comment. ```yaml # pull: # - llama3 ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/helm-charts#59
No description provided.