blumeops/argocd/manifests/frigate/deployment.yaml
Erich Blume 6e8d11c6bb Add :kustomized sentinel tag to manifest images, review devpi
Bare image references in manifests were ambiguous — unclear whether the
tag was intentionally omitted or managed by kustomize. Add :kustomized
sentinel to all 37 image refs overridden by kustomize images transformer.
Add sync notes for tailscale-operator proxyclass (CRD fields not processed
by kustomize). Mark devpi reviewed (6.19.1 is current).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 08:15:06 -08:00

94 lines
2.4 KiB
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: frigate
namespace: frigate
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: frigate
template:
metadata:
labels:
app: frigate
spec:
runtimeClassName: nvidia
initContainers:
- name: copy-config
image: busybox:kustomized
command: ["cp", "/config-ro/config.yml", "/config/config.yml"]
volumeMounts:
- name: config-ro
mountPath: /config-ro
- name: config
mountPath: /config
containers:
- name: frigate
image: ghcr.io/blakeblackshear/frigate:kustomized
ports:
- containerPort: 5000
name: http
- containerPort: 8554
name: rtsp
- containerPort: 1984
name: go2rtc
env:
- name: FRIGATE_CAMERA_USER
valueFrom:
secretKeyRef:
name: frigate-camera
key: username
- name: FRIGATE_CAMERA_PASSWORD
valueFrom:
secretKeyRef:
name: frigate-camera
key: password
volumeMounts:
- name: config
mountPath: /config
- name: recordings
mountPath: /media/frigate
- name: database
mountPath: /db
- name: shm
mountPath: /dev/shm
resources:
requests:
memory: "256Mi"
cpu: "200m"
limits:
memory: "3Gi"
cpu: "2000m"
nvidia.com/gpu: "1"
livenessProbe:
httpGet:
path: /api/version
port: 5000
initialDelaySeconds: 30
periodSeconds: 30
readinessProbe:
httpGet:
path: /api/version
port: 5000
initialDelaySeconds: 15
periodSeconds: 10
volumes:
- name: config-ro
configMap:
name: frigate-config
- name: config
emptyDir: {}
- name: recordings
persistentVolumeClaim:
claimName: frigate-recordings
- name: database
persistentVolumeClaim:
claimName: frigate-database
- name: shm
emptyDir:
medium: Memory
sizeLimit: 512Mi