mirror of
https://github.com/truecharts/charts.git
synced 2026-07-16 19:11:23 -03:00
fix(frigate): render parent max_frames only when at least one child has value (#5196)
This commit is contained in:
@@ -24,7 +24,7 @@ sources:
|
||||
- https://github.com/blakeblackshear/frigate
|
||||
- https://hub.docker.com/r/blakeblackshear/frigate
|
||||
type: application
|
||||
version: 5.0.7
|
||||
version: 5.0.8
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- nvr
|
||||
|
||||
@@ -107,6 +107,7 @@ data:
|
||||
threshold: {{ .Values.frigate.detect.stationary.threshold | default 50 }}
|
||||
{{- if (hasKey .Values.frigate.detect.stationary "max_frames") }}
|
||||
{{- if or (hasKey .Values.frigate.detect.stationary.max_frames "default") (hasKey .Values.frigate.detect.stationary.max_frames "objects") }}
|
||||
{{- if or .Values.frigate.detect.stationary.max_frames.default .Values.frigate.detect.stationary.max_frames.objects }}
|
||||
max_frames:
|
||||
{{- with .Values.frigate.detect.stationary.max_frames.default }}
|
||||
default: {{ . }}
|
||||
@@ -119,6 +120,7 @@ data:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.frigate.objects.render_config }}
|
||||
|
||||
Reference in New Issue
Block a user