fix(frigate): fix detectors question list (#4705)

* add dict under list for detectors

Signed-off-by: mgale456 <55673155+mgale456@users.noreply.github.com>

* fix typo. change enabled to render_config

Signed-off-by: mgale456 <55673155+mgale456@users.noreply.github.com>

* bump version

Signed-off-by: mgale456 <55673155+mgale456@users.noreply.github.com>

Signed-off-by: mgale456 <55673155+mgale456@users.noreply.github.com>
This commit is contained in:
mgale456
2022-11-22 09:07:22 +02:00
committed by GitHub
parent 31233a6f81
commit 6a1026983c
3 changed files with 39 additions and 33 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ sources:
- https://github.com/blakeblackshear/frigate
- https://hub.docker.com/r/blakeblackshear/frigate
type: application
version: 5.0.4
version: 5.0.5
annotations:
truecharts.org/catagories: |
- nvr
+37 -31
View File
@@ -85,38 +85,44 @@ questions:
type: list
default: []
items:
- variable: name
label: Name
description: Name of the detector
- variable: detector_entry
label: Detector Entry
schema:
type: string
required: true
default: ""
- variable: type
label: Type
description: Name of the detector
schema:
type: string
required: true
default: cpu
enum:
- value: cpu
description: CPU
- value: edgetpu
description: Edge TPU
- variable: device
label: Device
description: Device name as defined here - https://coral.ai/docs/edgetpu/multiple-edgetpu/#using-the-tensorflow-lite-python-api
schema:
type: string
default: ""
- variable: num_threads
label: Number of Threads
description: This value is only used for CPU types
schema:
type: int
show_if: [["type", "=", "cpu"]]
default: 3
additional_attrs: true
type: dict
attrs:
- variable: name
label: Name
description: Name of the detector
schema:
type: string
required: true
default: ""
- variable: type
label: Type
description: Name of the detector
schema:
type: string
required: true
default: cpu
enum:
- value: cpu
description: CPU
- value: edgetpu
description: Edge TPU
- variable: device
label: Device
description: Device name as defined here - https://coral.ai/docs/edgetpu/multiple-edgetpu/#using-the-tensorflow-lite-python-api
schema:
type: string
default: ""
- variable: num_threads
label: Number of Threads
description: This value is only used for CPU types
schema:
type: int
show_if: [["type", "=", "cpu"]]
default: 3
- variable: model
label: Model
schema:
@@ -28,7 +28,7 @@ data:
password: {{ . }}
{{- end }}
{{- if .Values.frigate.detectors.enabled }}
{{- if .Values.frigate.detectors.render_config }}
{{- if .Values.frigate.detectors.config }}
detectors:
{{- range .Values.frigate.detectors.config }}