reenable frigate for valchedrym cameras [ci skip]

This commit is contained in:
Viktor Barzin 2024-01-25 22:57:44 +00:00
parent 68b5e1f5e2
commit 12989b1600

View file

@ -8,9 +8,9 @@ variable "valchedrym_camera_credentials" {
resource "kubernetes_namespace" "frigate" { resource "kubernetes_namespace" "frigate" {
metadata { metadata {
name = "frigate" name = "frigate"
labels = { # labels = {
"istio-injection" : "enabled" # "istio-injection" : "enabled"
} # }
} }
} }
@ -40,16 +40,26 @@ resource "kubernetes_config_map" "config" {
cameras: cameras:
# Temp disabled until valchedrym is back up # Temp disabled until valchedrym is back up
valchedrym-cam-1: valchedrym-cam-1:
enabled: false enabled: true
ffmpeg: ffmpeg:
inputs: inputs:
- path: rtsp://${var.valchedrym_camera_credentials}@192.168.0.11:554/Streaming/Channels/101 # <----- The stream you want to use for detection - path: rtsp://${var.valchedrym_camera_credentials}@192.168.0.11:554/Streaming/Channels/101 # <----- The stream you want to use for detection
detect: detect:
enabled: False # <---- disable detection until you have a working camera feed enabled: True # <---- disable detection until you have a working camera feed
width: 704 # <---- update for your camera's resolution width: 704 # <---- update for your camera's resolution
height: 576 # <---- update for your camera's resolution height: 576 # <---- update for your camera's resolution
objects:
# Optional: list of objects to track from labelmap.txt (full list - https://docs.frigate.video/configuration/objects)
track:
- person
- bicycle
- car
- bird
- cat
- dog
- horse
valchedrym-cam-2: valchedrym-cam-2:
enabled: false enabled: true
ffmpeg: ffmpeg:
inputs: inputs:
- path: rtsp://${var.valchedrym_camera_credentials}@192.168.0.11:554/Streaming/Channels/201 # <----- The stream you want to use for detection - path: rtsp://${var.valchedrym_camera_credentials}@192.168.0.11:554/Streaming/Channels/201 # <----- The stream you want to use for detection
@ -57,6 +67,16 @@ resource "kubernetes_config_map" "config" {
enabled: False # <---- disable detection until you have a working camera feed enabled: False # <---- disable detection until you have a working camera feed
width: 704 # <---- update for your camera's resolution width: 704 # <---- update for your camera's resolution
height: 576 # <---- update for your camera's resolution height: 576 # <---- update for your camera's resolution
objects:
# Optional: list of objects to track from labelmap.txt (full list - https://docs.frigate.video/configuration/objects)
track:
- person
- bicycle
- car
- bird
- cat
- dog
- horse
london-ipcam: london-ipcam:
enabled: true enabled: true
ffmpeg: ffmpeg: