theshire/kubernetes/apps/default/scrypted/app/helmrelease.yaml

121 lines
3 KiB
YAML
Raw Normal View History

2024-10-11 19:57:15 -05:00
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
2024-10-12 16:00:37 -05:00
name: &app scrypted
2024-10-11 19:57:15 -05:00
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.5.1
interval: 30m
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
values:
controllers:
scrypted:
annotations:
reloader.stakater.com/auto: "true"
pod:
nodeSelector:
google.feature.node.kubernetes.io/coral: "true"
nvidia.com/gpu.present: "true"
securityContext:
supplementalGroups:
- 568
containers:
app:
image:
repository: ghcr.io/koush/scrypted
tag: v0.123.31-jammy-nvidia
2024-10-11 19:57:15 -05:00
probes:
liveness:
enabled: true
readiness:
enabled: true
startup:
enabled: true
spec:
failureThreshold: 30
periodSeconds: 5
resources:
requests:
cpu: 136m
memory: 1024Mi
limits:
nvidia.com/gpu: 1
memory: 8192Mi
securityContext:
privileged: true
service:
app:
2024-10-12 16:00:37 -05:00
controller: *app
type: LoadBalancer
annotations:
2024-10-12 16:07:26 -05:00
io.cilium/lb-ipam-ips: 10.1.1.33
2024-10-12 16:00:37 -05:00
nameOverride: *app
2024-10-11 19:57:15 -05:00
ports:
http:
port: 11080
primary: true
rebroadcast1: # driveway
port: 39655
rebroadcast2: # sideyard
port: 46561
rebroadcast3: # doorbell
port: 44759
2024-10-12 15:45:17 -05:00
homekit: # homekit
port: 42010
homekit-bridge: # bridge
port: 33961
2024-10-11 19:57:15 -05:00
2024-10-12 16:00:37 -05:00
2024-10-11 19:57:15 -05:00
ingress:
app:
className: "internal-nginx"
annotations:
hosts:
- host: &host scrypted.jahanson.tech
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host
persistence:
config:
2024-10-11 20:06:09 -05:00
existingClaim: scrypted
2024-10-11 19:57:15 -05:00
advancedMounts:
scrypted:
app:
- path: /server/volume
cache:
type: emptyDir
globalMounts:
- path: /.cache
cache-npm:
type: emptyDir
globalMounts:
- path: /.npm
dev-bus-usb:
type: hostPath
hostPath: /dev/bus/usb
hostPathType: Directory
sys-bus-usb:
type: hostPath
hostPath: /sys/bus/usb
hostPathType: Directory
2024-10-12 06:42:46 -05:00
recordings:
2024-10-11 19:57:15 -05:00
type: nfs
server: shadowfax.jahanson.tech
path: /nahar/scrypted
globalMounts:
2024-10-12 06:42:46 -05:00
- path: /recordings