Skip to content

Commit

Permalink
[home] fixed frigate deployment config
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Feb 19, 2024
1 parent a169826 commit 3e94661
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions apps/home/frigate/base/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ data:
person: 1000
go2rtc:
streams:
hall_cam: exec:ffmpeg -hide_banner -re -headers "Authorization: Bearer {{FRIGATE_HA_TOKEN}}" -i http://home-assistant.homeassistant.svc.cluster.local:8123/api/camera_proxy/camera.acessoweb_scseg_com_br -rtsp_transport -c copy -f rtsp {{output}}
hall_cam: exec:ffmpeg -hide_banner -re -headers 'Authorization: Bearer {FRIGATE_HA_TOKEN}' -i http://home-assistant.homeassistant.svc.cluster.local:8123/api/camera_proxy/camera.acessoweb_scseg_com_br -rtsp_transport -c copy -f rtsp {{output}}
cameras:
hall_cam:
enabled: false
Expand All @@ -43,9 +43,7 @@ data:
width: 416
height: 416
ffmpeg:
global_args: -hide_banner
hwaccel_args: preset-nvidia-h264
input_args: preset-rtsp-generic
output_args:
record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
detect: -f rawvideo -pix_fmt yuv420p
Expand Down
1 change: 0 additions & 1 deletion apps/home/frigate/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ spec:
envFrom:
- secretRef:
name: frigate-vars
optional: true
livenessProbe:
httpGet:
path: /
Expand Down
4 changes: 3 additions & 1 deletion apps/home/frigate/base/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ apiVersion: v1
kind: Secret
metadata:
name: frigate-vars
annotations:
avp.kubernetes.io/path: "kv/data/home"
stringData:
FRIGATE_HA_TOKEN: <path:kv/data/home#auth-token>
FRIGATE_HA_TOKEN: <auth-token>

0 comments on commit 3e94661

Please sign in to comment.