Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Frigate] Yolo config into existence #1481

Merged
merged 1 commit into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .windsurfrules
Empty file.
29 changes: 16 additions & 13 deletions kubernetes/apps/home-automation/frigate/app/HelmRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,27 +78,30 @@ spec:
port: http

persistence:
data:
existingClaim: frigate-data
globalMounts:
- path: /data
config:
existingClaim: frigate-config
globalMounts:
- path: /data

config-file:
type: configMap
name: frigate-configmap
- path: /config
media:
existingClaim: frigate-media
globalMounts:
- path: /config/config.yml
subPath: config.yml
readOnly: true
- path: /media

# config-file:
# type: configMap
# name: frigate-configmap
# globalMounts:
# - path: /config/config.yml
# subPath: config.yml
# readOnly: true

usb:
type: hostPath
hostPath: /dev/bus/usb
hostPathType: Directory
globalMounts:
- path: /dev/bus/usb

media:
existingClaim: frigate-media
globalMounts:
- path: /media
13 changes: 12 additions & 1 deletion kubernetes/apps/home-automation/frigate/app/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: frigate-config
name: frigate-data
spec:
accessModes: ["ReadWriteOnce"]
resources:
Expand All @@ -12,6 +12,17 @@ spec:
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: frigate-config
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 50Mi
storageClassName: longhorn
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: frigate-media
spec:
Expand Down
Loading