camtiler: Namespace change related fixes

This commit is contained in:
2023-08-19 10:20:37 +03:00
parent 90076f2dde
commit aacbb20e13
2 changed files with 17 additions and 3 deletions

View File

@@ -339,3 +339,17 @@ spec:
target: http://user@100.102.3.1:8080/?action=stream
secretRef: camera-secrets
replicas: 1
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: camera-motion-detect
spec:
selector:
matchLabels:
component: camera-motion-detect
podMetricsEndpoints:
- port: http
podTargetLabels:
- app.kubernetes.io/name
- component