From 9bf0a02810823e8b594161b35b2fff561a4c458a Mon Sep 17 00:00:00 2001 From: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Date: Mon, 11 Mar 2024 07:09:25 -0400 Subject: [PATCH] fix(ollama) change upstream image for the webgui container and add docs for initial account **BREAKING CHANGES** (#18713) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** - Update web gui container image - previous chats will be nuked. - add docs - update links in Chart.yaml ⚒️ Fixes #18673 **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [X] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [X] ⚖️ My code follows the style guidelines of this project - [X] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [X] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Signed-off-by: Kjeld Schouten Co-authored-by: Kjeld Schouten --- charts/stable/ollama/Chart.yaml | 4 ++-- charts/stable/ollama/docs/credentials.md | 5 +++++ charts/stable/ollama/values.yaml | 9 +++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 charts/stable/ollama/docs/credentials.md diff --git a/charts/stable/ollama/Chart.yaml b/charts/stable/ollama/Chart.yaml index 398d9912d73..56025eb574c 100644 --- a/charts/stable/ollama/Chart.yaml +++ b/charts/stable/ollama/Chart.yaml @@ -30,8 +30,8 @@ maintainers: url: https://truecharts.org name: ollama sources: - - https://github.com/jmorganca/ollama - - https://github.com/ollama-webui/ollama-webui + - https://github.com/ollama/ollama + - https://github.com/open-webui/open-webui - https://github.com/truecharts/charts/tree/master/charts/stable/ollama - https://ghcr.io/ollama-webui/ollama-webui - https://hub.docker.com/r/ollama/ollama diff --git a/charts/stable/ollama/docs/credentials.md b/charts/stable/ollama/docs/credentials.md new file mode 100644 index 00000000000..60c7db856cd --- /dev/null +++ b/charts/stable/ollama/docs/credentials.md @@ -0,0 +1,5 @@ +--- +title: Default credentials +--- + +The very first account to sign up on Open WebUI will be granted Administrator privileges. This account will have comprehensive control over the platform, including user management and system settings. diff --git a/charts/stable/ollama/values.yaml b/charts/stable/ollama/values.yaml index 82ac0ce4fdf..e9cae217e1a 100644 --- a/charts/stable/ollama/values.yaml +++ b/charts/stable/ollama/values.yaml @@ -3,9 +3,9 @@ image: pullPolicy: IfNotPresent tag: 0.1.29@sha256:8860aacb14e276a968f77350911f778e9f913ee888f6e50f6e35f30a24c4e164 uiImage: - repository: ghcr.io/ollama-webui/ollama-webui + repository: ghcr.io/open-webui/open-webui pullPolicy: IfNotPresent - tag: main@sha256:d5a5c1126b5decbfbfcac4f2c3d0595e0bbf7957e3fcabc9ee802d3bc66db6d2 + tag: latest@sha256:9c90b1505b9cea51cda075883aa336d29e28986af958c1d3646a39fbcd07adbf service: main: @@ -67,6 +67,11 @@ workload: primary: true enabled: true imageSelector: uiImage + securityContext: + runAsUser: 0 + runAsGroup: 0 + runAsNonRoot: false + readOnlyRootFilesystem: false probes: liveness: enabled: true