From 35eaf86d07f8de158e98c6cd1a7f8d69e893ba1b Mon Sep 17 00:00:00 2001 From: mgale456 <55673155+mgale456@users.noreply.github.com> Date: Wed, 24 Dec 2025 10:39:07 -0600 Subject: [PATCH] fix(wyoming-whisper): change persistence and securitycontext to remove root (#43142) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Removes need for root privileges by expanding the persistence a bit ⚒️ Fixes # **⚙️ 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 - [ ] 📜 Documentation Changes **🧪 How Has This Been Tested?** It works on my cluster: [helmrelease.yaml](https://github.com/mgale456/ClusterTesting/blob/main/clusters/main/kubernetes/apps/whisper/app/helm-release.yaml) **📃 Notes:** huggingface has descriptions of their environment variables [here](https://huggingface.co/docs/huggingface_hub/package_reference/environment_variables#hfhome). There are more subdirectories under .cache/huggingface than just hub/, so that's why I'm making this change (see HF_XET_CACHE or HF_TOKEN_PATH as examples). **✔️ 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 changes to the documentation - [ ] 🧪 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 - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ 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: mgale456 <55673155+mgale456@users.noreply.github.com> Co-authored-by: Alfred Göppel <43101280+alfi0812@users.noreply.github.com> --- charts/stable/wyoming-whisper/Chart.yaml | 5 ++--- charts/stable/wyoming-whisper/values.yaml | 10 ++-------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/charts/stable/wyoming-whisper/Chart.yaml b/charts/stable/wyoming-whisper/Chart.yaml index 15ad2996c9c..2551276470a 100644 --- a/charts/stable/wyoming-whisper/Chart.yaml +++ b/charts/stable/wyoming-whisper/Chart.yaml @@ -26,7 +26,7 @@ home: https://truecharts.org/charts/stable/wyoming-whisper icon: https://truecharts.org/img/hotlink-ok/chart-icons/wyoming-whisper.webp keywords: - wyoming-whisper -kubeVersion: '>=1.24.0-0' +kubeVersion: ">=1.24.0-0" maintainers: - name: TrueCharts email: info@truecharts.org @@ -37,5 +37,4 @@ sources: - https://github.com/trueforge-org/truecharts/tree/master/charts/stable/wyoming-whisper - https://hub.docker.com/r/rhasspy/wyoming-whisper type: application -version: 9.2.4 - +version: 10.0.0 diff --git a/charts/stable/wyoming-whisper/values.yaml b/charts/stable/wyoming-whisper/values.yaml index ef564b45389..70256ad4ff1 100644 --- a/charts/stable/wyoming-whisper/values.yaml +++ b/charts/stable/wyoming-whisper/values.yaml @@ -2,13 +2,7 @@ image: repository: docker.io/rhasspy/wyoming-whisper pullPolicy: IfNotPresent tag: 3.0.2@sha256:995b37523bc422f4f7649e50ccded97a5b9bf6d1d0420591183a778dd5d7d3f2 -securityContext: - container: - readOnlyRootFilesystem: false - runAsNonRoot: false - runAsUser: 0 - runAsGroup: 0 - + service: main: ports: @@ -46,4 +40,4 @@ persistence: mountPath: /data cache: enabled: true - mountPath: /.cache/huggingface/hub + mountPath: /.cache/huggingface