From 4f16610a086631ace114cc330e343e3e62a1ed2b Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Thu, 23 Nov 2023 21:21:38 +0100 Subject: [PATCH] fix(unifi): Fix unifi storage (#15293) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** This fixes current issues with Unifi storage ⚒️ Fixes #15280 **⚙️ 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:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 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 - [ ] ⬆️ 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 opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ 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: Kjeld Schouten --- charts/stable/unifi/Chart.yaml | 2 +- charts/stable/unifi/values.yaml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/charts/stable/unifi/Chart.yaml b/charts/stable/unifi/Chart.yaml index 144b8111dd5..8aaad4b41e2 100644 --- a/charts/stable/unifi/Chart.yaml +++ b/charts/stable/unifi/Chart.yaml @@ -22,7 +22,7 @@ sources: - https://github.com/jacobalberty/unifi-docker - https://unifi-network.ui.com type: application -version: 16.0.1 +version: 16.0.2 annotations: truecharts.org/category: Networking truecharts.org/SCALE-support: "true" diff --git a/charts/stable/unifi/values.yaml b/charts/stable/unifi/values.yaml index 4ae49b19ba5..2e754699d90 100644 --- a/charts/stable/unifi/values.yaml +++ b/charts/stable/unifi/values.yaml @@ -48,6 +48,14 @@ persistence: config: enabled: true mountPath: "/usr/lib/unifi" + subPath: "data" + logs: + enabled: true + mountPath: "/usr/lib/unifi/logs" + type: "emptyDir" + certs: + enabled: true + mountPath: "/usr/lib/unifi/cert" portal: open: enabled: true