From 1378b63e731bf6e38d2507c12426df7e2030c8dd Mon Sep 17 00:00:00 2001 From: Grant Hunter <5445379+grantdhunter@users.noreply.github.com> Date: Sat, 21 Mar 2026 23:27:12 -0600 Subject: [PATCH] add calibre and audiobookshelf --- audiobookshelf/values.yaml.gotmpl | 30 ++++++++++++++++++++++++++++++ calibre-web/values.yaml.gotmpl | 26 ++++++++++++++++++++++++++ helmfile.d/01-infrastructure.lock | 2 +- helmfile.d/02-datastore.lock | 4 ++-- helmfile.d/03-apps.lock | 10 ++++++++-- helmfile.d/03-apps.yaml | 18 +++++++++++++++++- immich/pvc.yaml | 2 +- traefik/values.yaml.gotmpl | 24 ++++++++++++++++++++++++ 8 files changed, 109 insertions(+), 7 deletions(-) create mode 100644 audiobookshelf/values.yaml.gotmpl create mode 100644 calibre-web/values.yaml.gotmpl diff --git a/audiobookshelf/values.yaml.gotmpl b/audiobookshelf/values.yaml.gotmpl new file mode 100644 index 0000000..e87be49 --- /dev/null +++ b/audiobookshelf/values.yaml.gotmpl @@ -0,0 +1,30 @@ +env: + TZ: America/Edmonton +ingress: + main: + enabled: true + hosts: + - host: audiobookshelf.incngrnt.ca + paths: + - path: / + tls: + - secretName: audiobookshelf-incngrnt-ca-tls + hosts: + - audiobookshelf.incngrnt.ca + +persistence: + config: + enabled: true + accessMode: ReadWriteOnce + size: 1Mi + storageClassName: ceph-block + metadata: + enabled: true + accessMode: ReadWriteOnce + size: 5Gi + storageClassName: ceph-block + media: + enabled: true + accessMode: ReadWriteOnce + size: 50Gi + storageClassName: ceph-block diff --git a/calibre-web/values.yaml.gotmpl b/calibre-web/values.yaml.gotmpl new file mode 100644 index 0000000..b4e7da9 --- /dev/null +++ b/calibre-web/values.yaml.gotmpl @@ -0,0 +1,26 @@ +env: + TZ: America/Edmonton + DOCKER_MODS: linuxserver/mods:universal-calibre +ingress: + main: + enabled: true + hosts: + - host: calibre.incngrnt.ca + paths: + - path: / + tls: + - secretName: calibre-incngrnt-ca-tls + hosts: + - calibre.incngrnt.ca + +persistence: + config: + enabled: true + accessMode: ReadWriteOnce + size: 1Mi + storageClassName: ceph-block + books: + enabled: true + accessMode: ReadWriteOnce + size: 1Gi + storageClassName: ceph-block diff --git a/helmfile.d/01-infrastructure.lock b/helmfile.d/01-infrastructure.lock index f7a01a7..3fff2dc 100644 --- a/helmfile.d/01-infrastructure.lock +++ b/helmfile.d/01-infrastructure.lock @@ -19,4 +19,4 @@ dependencies: repository: https://traefik.github.io/charts version: 39.0.6 digest: sha256:ab4571859e9f203e981e51fddd6eb64e39e327d1f469aae0aebd5f53cf0ec025 -generated: "2026-03-21T13:49:21.274234426-06:00" +generated: "2026-03-21T15:54:30.181487309-06:00" diff --git a/helmfile.d/02-datastore.lock b/helmfile.d/02-datastore.lock index f1b0b92..b480877 100644 --- a/helmfile.d/02-datastore.lock +++ b/helmfile.d/02-datastore.lock @@ -12,5 +12,5 @@ dependencies: - name: postgrescluster repository: git+https://github.com/grantdhunter/postgres-operator@helm?ref=main version: 5.7.4 -digest: sha256:bdd9acbcdad8b139c0e15907a8dc75b6271ccb18b38ab163d112e6499499de18 -generated: "2026-03-21T13:49:21.838610853-06:00" +digest: sha256:15aa54bcbc82cc0a0f2fde31f8a9999598a4ac8d8ae8ef4ea5d2cbc361443075 +generated: "2026-03-21T14:15:00.978030866-06:00" diff --git a/helmfile.d/03-apps.lock b/helmfile.d/03-apps.lock index 3fb8ad6..7105658 100644 --- a/helmfile.d/03-apps.lock +++ b/helmfile.d/03-apps.lock @@ -1,5 +1,11 @@ version: 1.2.3 dependencies: + - name: audiobookshelf + repository: https://k8s-home-lab.github.io/helm-charts/ + version: 2.0.1 + - name: calibre-web + repository: https://k8s-home-lab.github.io/helm-charts/ + version: 9.1.0 - name: ghost repository: https://charts.bitnami.com/bitnami version: 25.0.4 @@ -33,5 +39,5 @@ dependencies: - name: static-site repository: git+https://github.com/cfpb/static-site@charts?ref=main version: 0.1.1 -digest: sha256:e206c5e3e8104780c61d1322d1b1498907b69351dbee5d92f24f864975b1efe0 -generated: "2026-03-16T10:29:28.885610419-06:00" +digest: sha256:5fa6810fb7db97d0ff56fc5dcf272fd59202bad89b36c5b30ce212db7956edb9 +generated: "2026-03-21T15:54:36.111194061-06:00" diff --git a/helmfile.d/03-apps.yaml b/helmfile.d/03-apps.yaml index f5e3b66..5daeb54 100644 --- a/helmfile.d/03-apps.yaml +++ b/helmfile.d/03-apps.yaml @@ -11,7 +11,9 @@ repositories: url: git+https://github.com/cfpb/static-site@charts?ref=main - name: incngrnt url: git+https://git.incngrnt.ca/grant/charts@charts?ref=main - + - name: k8s-home-lab + url: https://k8s-home-lab.github.io/helm-charts/ + lockFilePath: ./helmfile.d/03-apps.lock releases: # goatchat matrix @@ -64,6 +66,20 @@ releases: values: - ../gitea/values.yaml.gotmpl + # books + - name: calibre-web + namespace: calibre + createNamespace: true + chart: k8s-home-lab/calibre-web + values: + - ../calibre-web/values.yaml.gotmpl + - name: audiobookshelf + namespace: audiobookshelf + createNamespace: true + chart: k8s-home-lab/audiobookshelf + values: + - ../audiobookshelf/values.yaml.gotmpl + # backups - name: ghost-backup namespace: ghost diff --git a/immich/pvc.yaml b/immich/pvc.yaml index aebafa2..cbfba24 100644 --- a/immich/pvc.yaml +++ b/immich/pvc.yaml @@ -7,5 +7,5 @@ spec: - ReadWriteOnce resources: requests: - storage: 200Gi + storage: 300Gi diff --git a/traefik/values.yaml.gotmpl b/traefik/values.yaml.gotmpl index 015cf4a..15090b4 100644 --- a/traefik/values.yaml.gotmpl +++ b/traefik/values.yaml.gotmpl @@ -158,3 +158,27 @@ extraObjects: kind: ClusterIssuer dnsNames: - photos.incngrnt.ca + - apiVersion: cert-manager.io/v1 + kind: Certificate + metadata: + name: calibre-incngrnt-ca + namespace: calibre + spec: + secretName: calibre-incngrnt-ca-tls + issuerRef: + name: letsencrypt + kind: ClusterIssuer + dnsNames: + - calibre.incngrnt.ca + - apiVersion: cert-manager.io/v1 + kind: Certificate + metadata: + name: audiobookshelf-incngrnt-ca + namespace: audiobookshelf + spec: + secretName: audiobookshelf-incngrnt-ca-tls + issuerRef: + name: letsencrypt + kind: ClusterIssuer + dnsNames: + - audiobookshelf.incngrnt.ca