39 lines
922 B
YAML
39 lines
922 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: frigate
|
|
namespace: frigate
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: frigate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: frigate
|
|
spec:
|
|
containers:
|
|
- name: frigate
|
|
image: blakeblackshear/frigate:stable
|
|
securityContext:
|
|
privileged: true
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
- name: media
|
|
mountPath: /media/frigate
|
|
- name: configmap-config
|
|
mountPath: /config/config.yml
|
|
subPath: config.yml
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: frigate-config
|
|
- name: media
|
|
persistentVolumeClaim:
|
|
claimName: frigate-media
|
|
- name: configmap-config
|
|
configMap:
|
|
name: frigate-config
|