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
|
2024-03-10 01:29:55 +00:00
|
|
|
tag: 0.13.2@sha256:2906991ccad85035b176941f9dedfd35088ff710c39d45ef1baa9a49f2b16734
|
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
|
2024-03-10 01:29:55 +00:00
|
|
|
tag: 0.13.2-tensorrt@sha256:07cc224cdf2feef0af9c860c044ac7ea0ac4adfca7f68b37dc3958bc3a3ee357
|
2024-03-10 11:49:36 +00:00
|
|
|
|
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..."
|
2024-03-10 11:49:36 +00:00
|
|
|
cp /dummy-config/config.yml /config/config.yml
|
2023-06-10 23:58:28 +00:00
|
|
|
echo "Config file copied, you can now edit it at /config/config.yml"
|
2024-03-10 11:49:36 +00:00
|
|
|
else
|
|
|
|
echo "Config file found, you can edit it at /config/config.yml"
|
2023-06-10 23:58:28 +00:00
|
|
|
fi
|
2024-03-10 11:49:36 +00:00
|
|
|
|
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
|
2024-03-10 11:49:36 +00:00
|
|
|
|
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
|
2024-03-10 11:49:36 +00:00
|
|
|
|
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:
|
2024-03-10 11:49:36 +00:00
|
|
|
enabled: true
|
2022-11-13 23:19:55 +00:00
|
|
|
mountPath: /config
|
2023-06-10 23:58:28 +00:00
|
|
|
targetSelector:
|
|
|
|
main:
|
|
|
|
main: {}
|
|
|
|
init-config: {}
|
2024-03-10 01:29:55 +00:00
|
|
|
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-06-01 20:49:06 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|