Ollama models config incorrect #59

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

Originally created by @s-bernhardt on GitHub (Feb 9, 2025).

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). 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" ```
yindo closed this issue 2026-02-15 19:15:52 -05:00
Author
Owner

@westbrook-ai 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?

@westbrook-ai 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.

@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

@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
@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.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/helm-charts#59