86 lines
2.0 KiB
YAML
86 lines
2.0 KiB
YAML
audiobookshelf:
|
|
controllers:
|
|
main:
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: ghcr.io/advplyr/audiobookshelf
|
|
tag: 2.12.3
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: TZ
|
|
value: US/Central
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
serviceAccount:
|
|
create: true
|
|
service:
|
|
main:
|
|
controller: main
|
|
ports:
|
|
http:
|
|
port: 80
|
|
targetPort: 80
|
|
protocol: HTTP
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
className: traefik
|
|
annotations:
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
cert-manager.io/cluster-issuer: letsencrypt-issuer
|
|
hosts:
|
|
- host: audiobookshelf.alexlebens.net
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
service:
|
|
name: audiobookshelf
|
|
port: 80
|
|
tls:
|
|
- secretName: audiobookshelf-secret-tls
|
|
hosts:
|
|
- audiobookshelf.alexlebens.net
|
|
persistence:
|
|
config:
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 2Gi
|
|
retain: true
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /config
|
|
readOnly: false
|
|
metadata:
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 10Gi
|
|
retain: true
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /metadata
|
|
readOnly: false
|
|
backup:
|
|
existingClaim: audiobookshelf-nfs-storage-backup
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /metadata/backups
|
|
readOnly: false
|
|
audiobooks:
|
|
existingClaim: audiobookshelf-nfs-storage
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /mnt/store/
|
|
readOnly: false
|