[PR #11] [MERGED] feat: ollama from external chart #128

Closed
opened 2026-02-15 19:16:31 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/helm-charts/pull/11
Author: @robrakaric
Created: 5/7/2024
Status: Merged
Merged: 5/9/2024
Merged by: @tjbck

Base: mainHead: feature-ollama-from-external-chart


📝 Commits (6)

  • aa04934 separate openwebui from ollama chart
  • 827d0f0 make ollama install work with external urls
  • 997e88f add path to chart-release workflow
  • 4e0b38b added logic to prevent blank url entry and trim trailing slash
  • 46c7ba6 changed externalUrls key to ollamaUrls in values.yaml
  • 2b9336c Merge branch 'main' into feature-ollama-from-external-chart

📊 Changes

16 files changed (+235 additions, -349 deletions)

View changed files

📝 .github/workflows/helm-release.yml (+6 -0)
charts/open-webui/Chart.lock (+6 -0)
📝 charts/open-webui/Chart.yaml (+13 -2)
📝 charts/open-webui/README.md (+42 -57)
charts/open-webui/charts/ollama-0.24.1.tgz (+0 -0)
📝 charts/open-webui/templates/_helpers.tpl (+23 -6)
📝 charts/open-webui/templates/deployment.yaml (+13 -13)
📝 charts/open-webui/templates/ingress.yaml (+7 -7)
charts/open-webui/templates/ollama-service.yaml (+0 -26)
charts/open-webui/templates/ollama-statefulset.yaml (+0 -98)
charts/open-webui/templates/pvc.yaml (+27 -0)
charts/open-webui/templates/service.yaml (+29 -0)
charts/open-webui/templates/webui-pvc.yaml (+0 -27)
charts/open-webui/templates/webui-service.yaml (+0 -29)
📝 charts/open-webui/values-minikube.yaml (+13 -13)
📝 charts/open-webui/values.yaml (+56 -71)

📄 Description

This is kind of a big one, and it addresses the proposal made in #5

The main idea is to separate development of open-webui helm chart(s) from Ollama, as there is already a maintained Ollama helm chart.

Here's a list of things this PR does:

  • Remove ollama service and statefulset Kubernetes resource templates
  • Rename all webui-resource.yaml to resource.yaml
  • Get rid of ollama values.yaml config values, and replace with ollama.enabled to allow user to opt to install or not install Ollama chart as a dependency
  • Make config keys under webui: in values.yaml as top-level configuration keys
  • Add ollama as a dependency in Chart.yaml
  • Update helm-release.yml workflow to download the Ollama dependency
  • Update all {{ .Values.webui.key }} in k8s resource templates to {{ .Values.key }}
  • Change keys nested under webui: to top-level keys in values-minikube.yaml
  • Implement support for OLLAMA_BASE_URLS environment variable, which enables multiple Ollama endpoints to be configured in in values.yaml under externalHosts , in addition to a clusterDomain address
  • Allow a custom clusterDomain to be specified (instead of just cluster.local)
  • Only run chart-releaser on changes to Chart.yaml as a way to control releases

This would be a major version increment to 2.0.0, indicating a breaking change for users who were utilizing the Helm chart as configured prior to this.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/helm-charts/pull/11 **Author:** [@robrakaric](https://github.com/robrakaric) **Created:** 5/7/2024 **Status:** ✅ Merged **Merged:** 5/9/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `feature-ollama-from-external-chart` --- ### 📝 Commits (6) - [`aa04934`](https://github.com/open-webui/helm-charts/commit/aa04934217772307c4b3cf962659d2dab334b8e5) separate openwebui from ollama chart - [`827d0f0`](https://github.com/open-webui/helm-charts/commit/827d0f0deed190a91b4622a7b0c82cea03196723) make ollama install work with external urls - [`997e88f`](https://github.com/open-webui/helm-charts/commit/997e88f6b60921936b3fc3a9076d698184a5a483) add path to chart-release workflow - [`4e0b38b`](https://github.com/open-webui/helm-charts/commit/4e0b38bc1d890a6ad0737b18c16e960905791a9c) added logic to prevent blank url entry and trim trailing slash - [`46c7ba6`](https://github.com/open-webui/helm-charts/commit/46c7ba62565f66f55ca4c92d971332ef777ef6dc) changed externalUrls key to ollamaUrls in values.yaml - [`2b9336c`](https://github.com/open-webui/helm-charts/commit/2b9336ca87d111cafa3c37ef0b27990f06d5fed7) Merge branch 'main' into feature-ollama-from-external-chart ### 📊 Changes **16 files changed** (+235 additions, -349 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/helm-release.yml` (+6 -0) ➕ `charts/open-webui/Chart.lock` (+6 -0) 📝 `charts/open-webui/Chart.yaml` (+13 -2) 📝 `charts/open-webui/README.md` (+42 -57) ➕ `charts/open-webui/charts/ollama-0.24.1.tgz` (+0 -0) 📝 `charts/open-webui/templates/_helpers.tpl` (+23 -6) 📝 `charts/open-webui/templates/deployment.yaml` (+13 -13) 📝 `charts/open-webui/templates/ingress.yaml` (+7 -7) ➖ `charts/open-webui/templates/ollama-service.yaml` (+0 -26) ➖ `charts/open-webui/templates/ollama-statefulset.yaml` (+0 -98) ➕ `charts/open-webui/templates/pvc.yaml` (+27 -0) ➕ `charts/open-webui/templates/service.yaml` (+29 -0) ➖ `charts/open-webui/templates/webui-pvc.yaml` (+0 -27) ➖ `charts/open-webui/templates/webui-service.yaml` (+0 -29) 📝 `charts/open-webui/values-minikube.yaml` (+13 -13) 📝 `charts/open-webui/values.yaml` (+56 -71) </details> ### 📄 Description This is kind of a big one, and it addresses the proposal made in #5 The main idea is to separate development of open-webui helm chart(s) from Ollama, as there is already a maintained Ollama helm chart. Here's a list of things this PR does: - Remove ollama `service` and `statefulset` Kubernetes resource templates - Rename all `webui-resource.yaml` to `resource.yaml` - Get rid of ollama `values.yaml` config values, and replace with `ollama.enabled` to allow user to opt to install or not install Ollama chart as a dependency - Make config keys under `webui:` in `values.yaml` as top-level configuration keys - Add ollama as a dependency in `Chart.yaml` - Update `helm-release.yml` workflow to download the Ollama dependency - Update all `{{ .Values.webui.key }}` in k8s resource templates to `{{ .Values.key }}` - Change keys nested under `webui:` to top-level keys in `values-minikube.yaml` - Implement support for `OLLAMA_BASE_URLS` environment variable, which enables multiple Ollama endpoints to be configured in in `values.yaml` under `externalHosts` , in addition to a `clusterDomain` address - Allow a custom `clusterDomain` to be specified (instead of just `cluster.local`) - Only run `chart-releaser` on changes to `Chart.yaml` as a way to control releases This would be a major version increment to 2.0.0, indicating a breaking change for users who were utilizing the Helm chart as configured prior to this. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:16:31 -05:00
yindo closed this issue 2026-02-15 19:16:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/helm-charts#128