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: