diff --git a/charts/incubator/frigate/Chart.yaml b/charts/incubator/frigate/Chart.yaml index 8e62eb3145e..c574e7166cd 100644 --- a/charts/incubator/frigate/Chart.yaml +++ b/charts/incubator/frigate/Chart.yaml @@ -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 diff --git a/charts/incubator/frigate/templates/_configmap.tpl b/charts/incubator/frigate/templates/_configmap.tpl index c4a1f225d5b..591cd0a4d75 100644 --- a/charts/incubator/frigate/templates/_configmap.tpl +++ b/charts/incubator/frigate/templates/_configmap.tpl @@ -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 }}