From 12989b16002776cead76943a2e5bce411fcc3f4e Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Thu, 25 Jan 2024 22:57:44 +0000 Subject: [PATCH] reenable frigate for valchedrym cameras [ci skip] --- modules/kubernetes/frigate/main.tf | 32 ++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/modules/kubernetes/frigate/main.tf b/modules/kubernetes/frigate/main.tf index 5a45cba4..a9348acf 100644 --- a/modules/kubernetes/frigate/main.tf +++ b/modules/kubernetes/frigate/main.tf @@ -8,9 +8,9 @@ variable "valchedrym_camera_credentials" { resource "kubernetes_namespace" "frigate" { metadata { name = "frigate" - labels = { - "istio-injection" : "enabled" - } + # labels = { + # "istio-injection" : "enabled" + # } } } @@ -40,16 +40,26 @@ resource "kubernetes_config_map" "config" { cameras: # Temp disabled until valchedrym is back up valchedrym-cam-1: - enabled: false + enabled: true ffmpeg: inputs: - path: rtsp://${var.valchedrym_camera_credentials}@192.168.0.11:554/Streaming/Channels/101 # <----- The stream you want to use for detection 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 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: - enabled: false + enabled: true ffmpeg: inputs: - 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 width: 704 # <---- 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: enabled: true ffmpeg: