From 60168672858e5e92f3590e4117f7a759ceea2147 Mon Sep 17 00:00:00 2001 From: StevenMcElligott <89483932+StevenMcElligott@users.noreply.github.com> Date: Sun, 15 Oct 2023 07:51:32 -0400 Subject: [PATCH] feat(frigate): Add option for TensorRT container (#13626) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Added image selector so that nvidia users can use the built-in libraries of the container to process Events instead of being cpu bound or using a Coral ⚒️ Fixes # **⚙️ Type of change** - [X] ⚙️ 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 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._ --- charts/stable/frigate/Chart.yaml | 2 +- charts/stable/frigate/questions.yaml | 12 ++++++++++++ charts/stable/frigate/values.yaml | 4 ++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/charts/stable/frigate/Chart.yaml b/charts/stable/frigate/Chart.yaml index 84d65eb892e..f86b2b74132 100644 --- a/charts/stable/frigate/Chart.yaml +++ b/charts/stable/frigate/Chart.yaml @@ -23,7 +23,7 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/frigate - https://github.com/blakeblackshear/frigate type: application -version: 10.0.1 +version: 10.1.0 annotations: truecharts.org/catagories: | - nvr diff --git a/charts/stable/frigate/questions.yaml b/charts/stable/frigate/questions.yaml index 0ebf7906f2e..7a8922ddffe 100644 --- a/charts/stable/frigate/questions.yaml +++ b/charts/stable/frigate/questions.yaml @@ -6,9 +6,21 @@ questions: # Include{global} # Include{workload} # Include{workloadDeployment} + # Include{replicas1} # Include{podSpec} # Include{containerMain} + - variable: imageSelector + label: Select Image + schema: + type: string + default: image + enum: + - value: image + description: Base Image + - value: tensorrtImage + description: Image with TensorRT libraries for nvidia cards + # Include{containerBasic} # Include{containerAdvanced} # Include{containerConfig} diff --git a/charts/stable/frigate/values.yaml b/charts/stable/frigate/values.yaml index 8bcd7d5a19a..17cd010a788 100644 --- a/charts/stable/frigate/values.yaml +++ b/charts/stable/frigate/values.yaml @@ -2,6 +2,10 @@ image: repository: tccr.io/truecharts/frigate pullPolicy: IfNotPresent tag: v0.12.1@sha256:71c83d1c5454bfee190b450ab89b2889352688b8cf3f832782a47ed82e2c604d +tensorrtImage: + repository: tccr.io/truecharts/frigate-tensorrt + pullPolicy: IfNotPresent + tag: v0.12.1@sha256:6860328187a2a52b6273d0151a15be10bc69a05e98cf5186d718b5e87a8a2b04 # When this is defined, the contents will be mounted # as configmap into the container at /config/config.yml.