Files
infrastructure/clusters/cl01tl/applications/lidatube/values.yaml
2024-12-25 10:52:03 -06:00

87 lines
2.0 KiB
YAML

lidatube:
controllers:
main:
type: deployment
replicas: 1
strategy: Recreate
revisionHistoryLimit: 3
pod:
securityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
supplementalGroups:
- 44
- 100
- 109
- 65539
- 568
containers:
main:
image:
repository: thewicklowwolf/lidatube
tag: 0.2.9
pullPolicy: IfNotPresent
env:
- name: lidarr_address
value: http://lidarr2.lidarr2:80
- name: lidarr_api_key
valueFrom:
secretKeyRef:
name: lidatube-secret
key: lidarr_api_key
- name: sleep_interval
value: 360
- name: sync_schedule
value: 4
- name: attempt_lidarr_import
value: true
resources:
requests:
cpu: 100m
memory: 256Mi
serviceAccount:
create: true
service:
main:
controller: main
ports:
http:
port: 80
targetPort: 5000
protocol: HTTP
ingress:
tailscale:
enabled: true
className: tailscale
hosts:
- host: lidatube-cl01tl
paths:
- path: /
pathType: Prefix
service:
name: lidatube
port: 80
tls:
- hosts:
- lidatube-cl01tl
persistence:
config:
storageClass: ceph-block
accessMode: ReadWriteOnce
size: 5Gi
retain: true
advancedMounts:
main:
main:
- path: /lidatube/config
readOnly: false
music:
existingClaim: lidatube-nfs-storage
advancedMounts:
main:
main:
- path: /lidatube/downloads
readOnly: false