2022-01-13 17:24:00 +00:00
|
|
|
image:
|
2023-11-17 10:22:57 +00:00
|
|
|
repository: ghcr.io/blakeblackshear/frigate
|
2022-01-13 17:24:00 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-11-17 10:22:57 +00:00
|
|
|
tag: 0.12.1@sha256:bb7f7e76a13eccef0b12704e5851cc774a12af1f12df387d6a70a796a3e938c3
|
2023-10-15 11:51:32 +00:00
|
|
|
tensorrtImage:
|
2023-11-18 10:48:35 +00:00
|
|
|
repository: ghcr.io/blakeblackshear/frigate
|
2023-10-15 11:51:32 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-11-18 10:48:35 +00:00
|
|
|
tag: 0.12.1-tensorrt@sha256:db6e62d94206803011307296242ee6bfcc185bcf4eb6f68a6fdab8fa7f03a3fb
|
2023-06-10 23:58:28 +00:00
|
|
|
# When this is defined, the contents will be mounted
|
|
|
|
# as configmap into the container at /config/config.yml.
|
2023-11-17 10:22:57 +00:00
|
|
|
frigateConfig: {}
|
|
|
|
# -- https://docs.frigate.video/configuration/
|
|
|
|
# mqtt:
|
|
|
|
# enabled: False
|
|
|
|
# cameras:
|
|
|
|
# dummy:
|
|
|
|
# enabled: False
|
|
|
|
# ffmpeg:
|
|
|
|
# inputs:
|
|
|
|
# - path: rtsp://127.0.0.1:554/rtsp
|
|
|
|
# roles:
|
|
|
|
# - detect
|
2023-06-10 23:58:28 +00:00
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
initContainers:
|
|
|
|
init-config:
|
|
|
|
enabled: "{{ not .Values.frigateConfig }}"
|
|
|
|
type: init
|
|
|
|
imageSelector: alpineImage
|
|
|
|
command:
|
|
|
|
- /bin/sh
|
|
|
|
- -c
|
|
|
|
- |
|
|
|
|
mkdir -p /config
|
|
|
|
if [ ! -f /config/config.yml ]; then
|
|
|
|
echo "Config file not found, copying dummy..."
|
|
|
|
cp /dummy-config/config.yml.dummy /config/config.yml
|
|
|
|
echo "Config file copied, you can now edit it at /config/config.yml"
|
|
|
|
fi
|
2022-01-13 17:24:00 +00:00
|
|
|
securityContext:
|
2023-06-01 20:49:06 +00:00
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
2023-06-04 17:50:18 +00:00
|
|
|
runAsGroup: 0
|
2022-01-13 17:24:00 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2022-11-13 23:19:55 +00:00
|
|
|
port: 10500
|
2023-06-01 20:49:06 +00:00
|
|
|
protocol: http
|
2022-01-13 17:24:00 +00:00
|
|
|
targetPort: 5000
|
|
|
|
rtmp:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
rtmp:
|
|
|
|
enabled: true
|
|
|
|
port: 1935
|
|
|
|
targetPort: 1935
|
2023-06-16 09:26:26 +00:00
|
|
|
rtsp:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
rtsp:
|
|
|
|
enabled: true
|
|
|
|
port: 8554
|
|
|
|
targetPort: 8554
|
|
|
|
webrtc:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
webrtc-tcp:
|
|
|
|
enabled: true
|
|
|
|
port: 8555
|
|
|
|
targetPort: 8555
|
|
|
|
webrtc-udp:
|
|
|
|
enabled: true
|
|
|
|
port: 8555
|
|
|
|
protocol: udp
|
|
|
|
targetPort: 8555
|
2022-01-13 17:24:00 +00:00
|
|
|
persistence:
|
2022-11-13 23:19:55 +00:00
|
|
|
media:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /media
|
2023-06-10 23:58:28 +00:00
|
|
|
config:
|
|
|
|
# Only enable when not using frigateConfig
|
|
|
|
enabled: false
|
2022-11-13 23:19:55 +00:00
|
|
|
mountPath: /config
|
2023-06-10 23:58:28 +00:00
|
|
|
targetSelector:
|
|
|
|
main:
|
|
|
|
main: {}
|
|
|
|
init-config: {}
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-06-01 20:49:06 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|
2023-11-18 10:48:35 +00:00
|
|
|
updated: true
|