From 2c3cd54ea9757ae3d2bb3e5a62f35762a94b7dea Mon Sep 17 00:00:00 2001 From: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Date: Mon, 11 Mar 2024 13:02:29 -0400 Subject: [PATCH] fix(ispy-agent-dvr): Add persistence for ffmpeg6 and fix scale q's (#19149) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Added the `ffmpeg6` folder to be persisted and other minor fixes For those who didn't persist ffmpeg6 previously Go into shell and do ```bash cd agent ./setup-ffmpeg-linux.sh ffmpeg6/ ``` ⚒️ Fixes #17970 **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 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 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/ispy-agent-dvr/Chart.yaml | 2 +- charts/stable/ispy-agent-dvr/questions.yaml | 24 +++++++++++++++++++++ charts/stable/ispy-agent-dvr/values.yaml | 3 +++ 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/charts/stable/ispy-agent-dvr/Chart.yaml b/charts/stable/ispy-agent-dvr/Chart.yaml index d53cadf3d74..15f3b85aac3 100644 --- a/charts/stable/ispy-agent-dvr/Chart.yaml +++ b/charts/stable/ispy-agent-dvr/Chart.yaml @@ -35,4 +35,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/ispy-agent-dvr - https://hub.docker.com/r/doitandbedone/ispyagentdvr type: application -version: 9.5.2 +version: 9.6.0 diff --git a/charts/stable/ispy-agent-dvr/questions.yaml b/charts/stable/ispy-agent-dvr/questions.yaml index aa02eabe55a..bd08957de8e 100644 --- a/charts/stable/ispy-agent-dvr/questions.yaml +++ b/charts/stable/ispy-agent-dvr/questions.yaml @@ -226,6 +226,30 @@ questions: additional_attrs: true type: dict attrs: +# Include{persistenceBasic} + - variable: media + label: "App Media Storage" + description: "Stores the Application Media." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} + - variable: commands + label: "App Command Storage" + description: "Stores the Commands directory." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} + - variable: ffmpeg + label: "ffmpeg6 Storage" + description: "Stores the ffmpeg folder." + schema: + additional_attrs: true + type: dict + attrs: # Include{persistenceBasic} # Include{persistenceList} # Include{ingressRoot} diff --git a/charts/stable/ispy-agent-dvr/values.yaml b/charts/stable/ispy-agent-dvr/values.yaml index 840ec8a5c21..a300af06cd2 100644 --- a/charts/stable/ispy-agent-dvr/values.yaml +++ b/charts/stable/ispy-agent-dvr/values.yaml @@ -84,6 +84,9 @@ persistence: commands: enabled: true mountPath: "/agent/Commands" + ffmpeg: + enabled: true + mountPath: "/agent/ffmpeg6" portal: open: enabled: true