From 7a40e1f8ac30bc8fa28c73224aa17b4dbead7af4 Mon Sep 17 00:00:00 2001 From: alfi0812 <43101280+alfi0812@users.noreply.github.com> Date: Sun, 16 Jun 2024 09:58:59 +0200 Subject: [PATCH] fix(pihole): Fix UID & PID (#23402) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fix UID & PID **⚙️ 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 - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **➕ 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._ --- charts/stable/pihole/Chart.yaml | 2 +- charts/stable/pihole/values.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/stable/pihole/Chart.yaml b/charts/stable/pihole/Chart.yaml index b732dc82d61..de46fb2f2b1 100644 --- a/charts/stable/pihole/Chart.yaml +++ b/charts/stable/pihole/Chart.yaml @@ -34,4 +34,4 @@ sources: - https://hub.docker.com/r/pihole/pihole - https://pi-hole.net/ type: application -version: 18.0.2 +version: 18.0.3 diff --git a/charts/stable/pihole/values.yaml b/charts/stable/pihole/values.yaml index 7914eab7d67..2a4ab736865 100644 --- a/charts/stable/pihole/values.yaml +++ b/charts/stable/pihole/values.yaml @@ -25,6 +25,9 @@ workload: podSpec: containers: main: + env: + PIHOLE_UID: "{{ .Values.securityContext.container.PUID }}" + PIHOLE_GID: "{{ .Values.securityContext.pod.fsGroup }}" envFrom: - configMapRef: name: pihole-env