2022-01-13 12:24:00 -05:00
|
|
|
image:
|
2023-11-17 05:22:57 -05:00
|
|
|
repository: ghcr.io/blakeblackshear/frigate
|
2022-01-13 12:24:00 -05:00
|
|
|
pullPolicy: IfNotPresent
|
2024-03-09 20:29:55 -05:00
|
|
|
tag: 0.13.2@sha256:2906991ccad85035b176941f9dedfd35088ff710c39d45ef1baa9a49f2b16734
|
2023-10-15 07:51:32 -04:00
|
|
|
tensorrtImage:
|
2023-11-18 05:48:35 -05:00
|
|
|
repository: ghcr.io/blakeblackshear/frigate
|
2023-10-15 07:51:32 -04:00
|
|
|
pullPolicy: IfNotPresent
|
2024-03-09 20:29:55 -05:00
|
|
|
tag: 0.13.2-tensorrt@sha256:07cc224cdf2feef0af9c860c044ac7ea0ac4adfca7f68b37dc3958bc3a3ee357
|
2024-03-10 07:49:36 -04:00
|
|
|
|
2023-06-10 19:58:28 -04:00
|
|
|
# When this is defined, the contents will be mounted
|
|
|
|
# as configmap into the container at /config/config.yml.
|
2023-11-17 05:22:57 -05: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 19:58:28 -04: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 07:49:36 -04:00
|
|
|
cp /dummy-config/config.yml /config/config.yml
|
2023-06-10 19:58:28 -04:00
|
|
|
echo "Config file copied, you can now edit it at /config/config.yml"
|
2024-03-10 07:49:36 -04:00
|
|
|
else
|
|
|
|
echo "Config file found, you can edit it at /config/config.yml"
|
2023-06-10 19:58:28 -04:00
|
|
|
fi
|
2024-03-10 07:49:36 -04:00
|
|
|
|
2022-01-13 12:24:00 -05:00
|
|
|
securityContext:
|
2023-06-01 16:49:06 -04:00
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
2023-06-04 13:50:18 -04:00
|
|
|
runAsGroup: 0
|
2024-03-10 07:49:36 -04:00
|
|
|
|
2022-01-13 12:24:00 -05:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2022-11-13 18:19:55 -05:00
|
|
|
port: 10500
|
2023-06-01 16:49:06 -04:00
|
|
|
protocol: http
|
2022-01-13 12:24:00 -05:00
|
|
|
targetPort: 5000
|
|
|
|
rtmp:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
rtmp:
|
|
|
|
enabled: true
|
|
|
|
port: 1935
|
|
|
|
targetPort: 1935
|
2023-06-16 05:26:26 -04: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 07:49:36 -04:00
|
|
|
|
2022-01-13 12:24:00 -05:00
|
|
|
persistence:
|
2022-11-13 18:19:55 -05:00
|
|
|
media:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /media
|
2023-06-10 19:58:28 -04:00
|
|
|
config:
|
2024-03-10 07:49:36 -04:00
|
|
|
enabled: true
|
2022-11-13 18:19:55 -05:00
|
|
|
mountPath: /config
|
2023-06-10 19:58:28 -04:00
|
|
|
targetSelector:
|
|
|
|
main:
|
|
|
|
main: {}
|
|
|
|
init-config: {}
|
2024-03-09 20:29:55 -05:00
|
|
|
|
2022-08-08 17:25:02 -04:00
|
|
|
portal:
|
2023-06-01 16:49:06 -04:00
|
|
|
open:
|
|
|
|
enabled: true
|