mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
[frigate] Update frigate to 8.0.0 (#1425)
This commit is contained in:
parent
24832aaef0
commit
4b4e136fba
@ -1,8 +1,8 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: v0.9.4
|
appVersion: 0.10.0-amd64
|
||||||
description: NVR With Realtime Object Detection for IP Cameras
|
description: NVR With Realtime Object Detection for IP Cameras
|
||||||
name: frigate
|
name: frigate
|
||||||
version: 7.1.0
|
version: 8.0.0
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- frigate
|
- frigate
|
||||||
@ -27,4 +27,9 @@ dependencies:
|
|||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Upgraded `common` chart dependency to version `4.3.0`.
|
description: **Breaking:** Updated image tag to version `0.10.0-amd64`. See the application release notes for the breaking changes.
|
||||||
|
links:
|
||||||
|
- name: Application release notes
|
||||||
|
url: https://github.com/blakeblackshear/frigate/releases/tag/v0.10.0
|
||||||
|
- kind: changed
|
||||||
|
description: **Breaking:** Use the common library built-in configMap for configuration.
|
||||||
|
@ -3,30 +3,24 @@ persistence:
|
|||||||
enabled: true
|
enabled: true
|
||||||
type: emptyDir
|
type: emptyDir
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
config: |
|
|
||||||
detectors:
|
configmap:
|
||||||
cpu1:
|
config:
|
||||||
type: cpu
|
enabled: true
|
||||||
num_threads: 1
|
data:
|
||||||
mqtt:
|
config.yml: |
|
||||||
host: 192.168.1.2
|
|
||||||
client_id: frigate
|
|
||||||
user: frigate
|
|
||||||
password: frigate
|
|
||||||
database:
|
database:
|
||||||
path: /data/frigate.db
|
path: /data/frigate.db
|
||||||
detect:
|
mqtt:
|
||||||
fps: 4
|
host: test.mosquitto.org
|
||||||
height: 360
|
|
||||||
width: 640
|
|
||||||
cameras:
|
cameras:
|
||||||
camera_1:
|
back:
|
||||||
ffmpeg:
|
ffmpeg:
|
||||||
inputs:
|
inputs:
|
||||||
- path: rtsp://admin:admin@192.168.1.3:5554//h264Preview_01_sub
|
- path: rtsp://10.0.10.10:554/rtsp
|
||||||
roles:
|
roles:
|
||||||
- detect
|
- detect
|
||||||
- rtmp
|
- rtmp
|
||||||
zones:
|
detect:
|
||||||
door:
|
width: 1280
|
||||||
coordinates: 481,42,596,48,565,267,469,228
|
height: 720
|
||||||
|
@ -2,18 +2,23 @@
|
|||||||
{{- include "common.values.setup" . }}
|
{{- include "common.values.setup" . }}
|
||||||
|
|
||||||
{{/* Append the hardcoded settings */}}
|
{{/* Append the hardcoded settings */}}
|
||||||
{{- define "frigate.configValues" -}}
|
{{- define "frigate.harcodedValues" -}}
|
||||||
persistence:
|
{{- if .Values.configmap.config.enabled }}
|
||||||
frigate-config:
|
{{/* merge frigate specific annotations with podAnnotations*/}}
|
||||||
enabled: "true"
|
podAnnotations:
|
||||||
|
configmap/checksum: "{{ .Values.configmap.config.data | toYaml | sha256sum }}"
|
||||||
|
|
||||||
|
{{/* Append the configMap volume to the volumes */}}
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
type: "configMap"
|
||||||
|
name: "{{ printf "%v-config" (include "common.names.fullname" .) }}"
|
||||||
mountPath: "/config/config.yml"
|
mountPath: "/config/config.yml"
|
||||||
subPath: "config.yml"
|
subPath: "config.yml"
|
||||||
type: "custom"
|
{{- end }}
|
||||||
volumeSpec:
|
|
||||||
configMap:
|
|
||||||
name: {{ printf "%v-config" (include "common.names.fullname" .) }}
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $_ := mergeOverwrite .Values (include "frigate.configValues" . | fromYaml) -}}
|
{{- $_ := mergeOverwrite .Values (include "frigate.harcodedValues" . | fromYaml) -}}
|
||||||
|
|
||||||
{{/* Render the templates */}}
|
{{/* Render the templates */}}
|
||||||
{{ include "common.all" . }}
|
{{ include "common.all" . }}
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: {{ include "common.names.fullname" . }}-config
|
|
||||||
labels:
|
|
||||||
{{- include "common.labels" . | nindent 4 }}
|
|
||||||
data:
|
|
||||||
config.yml: |
|
|
||||||
{{- tpl .Values.config $ | nindent 4 }}
|
|
@ -9,7 +9,8 @@ image:
|
|||||||
# -- image repository
|
# -- image repository
|
||||||
repository: blakeblackshear/frigate
|
repository: blakeblackshear/frigate
|
||||||
# -- image tag
|
# -- image tag
|
||||||
tag: 0.9.4-amd64
|
# @default -- chart.appVersion
|
||||||
|
tag:
|
||||||
# -- image pull policy
|
# -- image pull policy
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
@ -95,14 +96,25 @@ resources: {}
|
|||||||
# gpu.intel.com/i915: 1
|
# gpu.intel.com/i915: 1
|
||||||
# memory: 4096Mi
|
# memory: 4096Mi
|
||||||
|
|
||||||
# -- See [docs](https://blakeblackshear.github.io/frigate/) for more details.
|
configmap:
|
||||||
# @default -- see URL to default config
|
config:
|
||||||
config: |
|
# -- Store frigate configuration as a ConfigMap
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
# -- See [docs](https://blakeblackshear.github.io/frigate/) for more details.
|
||||||
|
# @default -- see URL to default config
|
||||||
|
data:
|
||||||
|
config.yml: |
|
||||||
mqtt:
|
mqtt:
|
||||||
host: test.mosquitto.org
|
host: mqtt.server.com
|
||||||
topic_prefix: frigate
|
cameras:
|
||||||
database:
|
back:
|
||||||
path: /data/frigate.db
|
ffmpeg:
|
||||||
detectors:
|
inputs:
|
||||||
cpu1:
|
- path: rtsp://demo:demo@ipvmdemo.dyndns.org:5541/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast
|
||||||
type: cpu
|
roles:
|
||||||
|
- detect
|
||||||
|
- rtmp
|
||||||
|
detect:
|
||||||
|
width: 1280
|
||||||
|
height: 720
|
||||||
|
Loading…
Reference in New Issue
Block a user