From c5074ba043d3bc32424d89ec3564f9b604f46c82 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Tue, 25 Nov 2025 20:11:30 -0600 Subject: [PATCH] remove calibre --- .../calibre-web-automated/Chart.yaml | 21 ---- .../templates/external-secret.yaml | 78 ------------ .../templates/http-route.yaml | 58 --------- .../templates/persistent-volume-claim.yaml | 36 ------ .../templates/persistent-volume.yaml | 48 ------- .../templates/replication-source.yaml | 28 ----- .../calibre-web-automated/values.yaml | 119 ------------------ .../cl01tl/applications/homepage/values.yaml | 12 -- clusters/cl01tl/monitoring/gatus/values.yaml | 6 - clusters/cl01tl/services/blocky/values.yaml | 2 - hosts/ps08rp/blocky/config.yml | 2 - hosts/ps09rp/blocky/config.yml | 2 - 12 files changed, 412 deletions(-) delete mode 100644 clusters/cl01tl/applications/calibre-web-automated/Chart.yaml delete mode 100644 clusters/cl01tl/applications/calibre-web-automated/templates/external-secret.yaml delete mode 100644 clusters/cl01tl/applications/calibre-web-automated/templates/http-route.yaml delete mode 100644 clusters/cl01tl/applications/calibre-web-automated/templates/persistent-volume-claim.yaml delete mode 100644 clusters/cl01tl/applications/calibre-web-automated/templates/persistent-volume.yaml delete mode 100644 clusters/cl01tl/applications/calibre-web-automated/templates/replication-source.yaml delete mode 100644 clusters/cl01tl/applications/calibre-web-automated/values.yaml diff --git a/clusters/cl01tl/applications/calibre-web-automated/Chart.yaml b/clusters/cl01tl/applications/calibre-web-automated/Chart.yaml deleted file mode 100644 index bd6191036..000000000 --- a/clusters/cl01tl/applications/calibre-web-automated/Chart.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: v2 -name: calibre-web-automated -version: 1.0.0 -description: Calibre Web Automated -keywords: - - calibre-web-automated - - books -home: https://wiki.alexlebens.dev/s/fdcfdb7e-8f73-438e-b59c-3c2de2081885 -sources: - - https://github.com/crocodilestick/Calibre-Web-Automator - - https://hub.docker.com/r/crocodilestick/calibre-web-automated - - https://github.com/bjw-s-labs/helm-charts/tree/main/charts/other/app-template -maintainers: - - name: alexlebens -dependencies: - - name: app-template - alias: calibre-web-automated - repository: https://bjw-s-labs.github.io/helm-charts/ - version: 4.4.0 -icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/calibre-web.png -appVersion: V3.0.4 diff --git a/clusters/cl01tl/applications/calibre-web-automated/templates/external-secret.yaml b/clusters/cl01tl/applications/calibre-web-automated/templates/external-secret.yaml deleted file mode 100644 index 4cbd34803..000000000 --- a/clusters/cl01tl/applications/calibre-web-automated/templates/external-secret.yaml +++ /dev/null @@ -1,78 +0,0 @@ -apiVersion: external-secrets.io/v1 -kind: ExternalSecret -metadata: - name: calibre-web-automated-gmail-config - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: calibre-web-automated-gmail-config - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - secretStoreRef: - kind: ClusterSecretStore - name: vault - data: - - secretKey: gmail.json - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/calibre-web/gmail - metadataPolicy: None - property: gmail.json - ---- -apiVersion: external-secrets.io/v1 -kind: ExternalSecret -metadata: - name: calibre-web-automated-config-backup-secret - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: calibre-web-automated-config-backup-secret - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - secretStoreRef: - kind: ClusterSecretStore - name: vault - target: - template: - mergePolicy: Merge - engineVersion: v2 - data: - RESTIC_REPOSITORY: "{{ `{{ .BUCKET_ENDPOINT }}` }}/calibre-web-automated/calibre-web-automated-config" - data: - - secretKey: BUCKET_ENDPOINT - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/volsync/restic/config - metadataPolicy: None - property: S3_BUCKET_ENDPOINT - - secretKey: RESTIC_PASSWORD - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/volsync/restic/config - metadataPolicy: None - property: RESTIC_PASSWORD - - secretKey: AWS_DEFAULT_REGION - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /cl01tl/volsync/restic/config - metadataPolicy: None - property: AWS_DEFAULT_REGION - - secretKey: AWS_ACCESS_KEY_ID - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /digital-ocean/home-infra/volsync-backups - metadataPolicy: None - property: access_key - - secretKey: AWS_SECRET_ACCESS_KEY - remoteRef: - conversionStrategy: Default - decodingStrategy: None - key: /digital-ocean/home-infra/volsync-backups - metadataPolicy: None - property: secret_key diff --git a/clusters/cl01tl/applications/calibre-web-automated/templates/http-route.yaml b/clusters/cl01tl/applications/calibre-web-automated/templates/http-route.yaml deleted file mode 100644 index cd347e31e..000000000 --- a/clusters/cl01tl/applications/calibre-web-automated/templates/http-route.yaml +++ /dev/null @@ -1,58 +0,0 @@ -apiVersion: gateway.networking.k8s.io/v1 -kind: HTTPRoute -metadata: - name: http-route-calibre - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: http-route-calibre - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - parentRefs: - - group: gateway.networking.k8s.io - kind: Gateway - name: traefik-gateway - namespace: traefik - hostnames: - - calibre.alexlebens.net - rules: - - matches: - - path: - type: PathPrefix - value: / - backendRefs: - - group: '' - kind: Service - name: calibre-web-automated-main - port: 8083 - weight: 100 - ---- -apiVersion: gateway.networking.k8s.io/v1 -kind: HTTPRoute -metadata: - name: http-route-calibre-downloader - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: http-route-calibre-downloader - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - parentRefs: - - group: gateway.networking.k8s.io - kind: Gateway - name: traefik-gateway - namespace: traefik - hostnames: - - calibre-downloader.alexlebens.net - rules: - - matches: - - path: - type: PathPrefix - value: / - backendRefs: - - group: '' - kind: Service - name: calibre-web-automated-downloader - port: 8084 - weight: 100 diff --git a/clusters/cl01tl/applications/calibre-web-automated/templates/persistent-volume-claim.yaml b/clusters/cl01tl/applications/calibre-web-automated/templates/persistent-volume-claim.yaml deleted file mode 100644 index cb8bd4b1e..000000000 --- a/clusters/cl01tl/applications/calibre-web-automated/templates/persistent-volume-claim.yaml +++ /dev/null @@ -1,36 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: calibre-web-automated-nfs-storage - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: calibre-web-automated-nfs-storage - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - volumeName: calibre-web-automated-nfs-storage - storageClassName: nfs-client - accessModes: - - ReadWriteMany - resources: - requests: - storage: 1Gi - ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: calibre-web-automated-ingest-nfs-storage - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: calibre-web-automated-ingest-nfs-storage - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - volumeName: calibre-web-automated-ingest-nfs-storage - storageClassName: nfs-client - accessModes: - - ReadWriteMany - resources: - requests: - storage: 1Gi diff --git a/clusters/cl01tl/applications/calibre-web-automated/templates/persistent-volume.yaml b/clusters/cl01tl/applications/calibre-web-automated/templates/persistent-volume.yaml deleted file mode 100644 index b8db075e9..000000000 --- a/clusters/cl01tl/applications/calibre-web-automated/templates/persistent-volume.yaml +++ /dev/null @@ -1,48 +0,0 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - name: calibre-web-automated-nfs-storage - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: calibre-web-automated-nfs-storage - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - persistentVolumeReclaimPolicy: Retain - storageClassName: nfs-client - capacity: - storage: 1Gi - accessModes: - - ReadWriteMany - nfs: - path: /volume2/Storage/Calibre - server: synologybond.alexlebens.net - mountOptions: - - vers=4 - - minorversion=1 - - noac - ---- -apiVersion: v1 -kind: PersistentVolume -metadata: - name: calibre-web-automated-ingest-nfs-storage - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: calibre-web-automated-ingest-nfs-storage - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - persistentVolumeReclaimPolicy: Retain - storageClassName: nfs-client - capacity: - storage: 1Gi - accessModes: - - ReadWriteMany - nfs: - path: /volume2/Storage/Calibre Import - server: synologybond.alexlebens.net - mountOptions: - - vers=4 - - minorversion=1 - - noac diff --git a/clusters/cl01tl/applications/calibre-web-automated/templates/replication-source.yaml b/clusters/cl01tl/applications/calibre-web-automated/templates/replication-source.yaml deleted file mode 100644 index 6f6ce650e..000000000 --- a/clusters/cl01tl/applications/calibre-web-automated/templates/replication-source.yaml +++ /dev/null @@ -1,28 +0,0 @@ -apiVersion: volsync.backube/v1alpha1 -kind: ReplicationSource -metadata: - name: calibre-web-automated-config-backup-source - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: calibre-web-automated-config-backup-source - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - sourcePVC: calibre-web-automated-config - trigger: - schedule: 0 4 * * * - restic: - pruneIntervalDays: 7 - repository: calibre-web-automated-config-backup-secret - retain: - hourly: 1 - daily: 3 - weekly: 2 - monthly: 2 - yearly: 4 - moverSecurityContext: - runAsUser: 1000 - runAsGroup: 100 - copyMethod: Snapshot - storageClassName: ceph-block - volumeSnapshotClassName: ceph-blockpool-snapshot diff --git a/clusters/cl01tl/applications/calibre-web-automated/values.yaml b/clusters/cl01tl/applications/calibre-web-automated/values.yaml deleted file mode 100644 index e503e41c3..000000000 --- a/clusters/cl01tl/applications/calibre-web-automated/values.yaml +++ /dev/null @@ -1,119 +0,0 @@ -calibre-web-automated: - controllers: - main: - type: deployment - replicas: 1 - strategy: Recreate - revisionHistoryLimit: 3 - containers: - main: - image: - repository: crocodilestick/calibre-web-automated - tag: V3.0.4 - pullPolicy: IfNotPresent - env: - - name: TZ - value: US/Central - - name: PUID - value: 1000 - - name: PGID - value: 100 - resources: - requests: - cpu: 10m - memory: 256Mi - downloader: - type: deployment - replicas: 1 - strategy: Recreate - revisionHistoryLimit: 3 - containers: - main: - image: - repository: ghcr.io/calibrain/calibre-web-automated-book-downloader - tag: latest@sha256:b1296c5edc89eee8742d86392ce40707233671044a454e002821e5c76cd58deb - pullPolicy: IfNotPresent - env: - - name: FLASK_PORT - value: 8084 - - name: UID - value: 1000 - - name: GID - value: 100 - - name: USE_CF_BYPASS - value: false - - name: CLOUDFLARE_PROXY_URL - value: http://localhost:8000 - - name: INGEST_DIR - value: /cwa-book-ingest - - name: BOOK_LANGUAGE - value: end - resources: - requests: - cpu: 10m - memory: 256Mi - bypass: - image: - repository: ghcr.io/sarperavci/cloudflarebypassforscraping - tag: latest@sha256:fc8443dd96450ab10ed455a05397c8a17bab89b8408b7cbb6242fa6e4fb9edf5 - pullPolicy: IfNotPresent - resources: - requests: - cpu: 10m - memory: 128Mi - service: - main: - controller: main - ports: - http: - port: 8083 - targetPort: 8083 - protocol: HTTP - downloader: - controller: downloader - ports: - http: - port: 8084 - targetPort: 8084 - protocol: HTTP - persistence: - config: - forceRename: calibre-web-automated-config - storageClass: ceph-block - accessMode: ReadWriteOnce - size: 5Gi - retain: true - advancedMounts: - main: - main: - - path: /config - readOnly: false - gmail: - enabled: true - type: secret - name: calibre-web-automated-gmail-config - advancedMounts: - main: - main: - - path: /app/calibre-web/gmail.json - readOnly: true - mountPropagation: None - subPath: gmail.json - books: - existingClaim: calibre-web-automated-nfs-storage - advancedMounts: - main: - main: - - path: /calibre-library - readOnly: false - ingest: - existingClaim: calibre-web-automated-ingest-nfs-storage - advancedMounts: - main: - main: - - path: /cwa-book-ingest - readOnly: false - downloader: - main: - - path: /cwa-book-ingest - readOnly: false diff --git a/clusters/cl01tl/applications/homepage/values.yaml b/clusters/cl01tl/applications/homepage/values.yaml index 9edb9a5a7..572eff13e 100644 --- a/clusters/cl01tl/applications/homepage/values.yaml +++ b/clusters/cl01tl/applications/homepage/values.yaml @@ -178,12 +178,6 @@ homepage: siteMonitor: http://audiobookshelf.audiobookshelf:80 statusStyle: dot - Books: - icon: sh-calibre-web.webp - description: Calibre Web Automated - href: https://calibre.alexlebens.net - siteMonitor: http://calibre-web-automated-main.calibre-web-automated:8083 - statusStyle: dot - - Books (Booklore): icon: sh-booklore.webp description: Booklore href: https://booklore.alexlebens.net @@ -692,12 +686,6 @@ homepage: href: https://ephemera.alexlebens.net siteMonitor: http://ephemera.ephemera:80 statusStyle: dot - - CWA Downloader: - icon: sh-cwa-book-downloader.webp - description: Books - href: https://calibre-downloader.alexlebens.net - siteMonitor: http://calibre-web-automated-downloader.calibre-web-automated:8084 - statusStyle: dot - Listenarr: icon: sh-audiobookrequest.webp description: Audiobooks diff --git a/clusters/cl01tl/monitoring/gatus/values.yaml b/clusters/cl01tl/monitoring/gatus/values.yaml index 3d9f454fc..4e9aa15a6 100644 --- a/clusters/cl01tl/monitoring/gatus/values.yaml +++ b/clusters/cl01tl/monitoring/gatus/values.yaml @@ -140,9 +140,6 @@ gatus: - name: audiobookshelf url: https://audiobookshelf.alexlebens.net <<: *defaults - - name: calibre - url: https://calibre.alexlebens.net - <<: *defaults - name: home-assistant url: https://home-assistant.alexlebens.net <<: *defaults @@ -304,9 +301,6 @@ gatus: - name: huntarr url: https://huntarr.alexlebens.net <<: *defaults - - name: calibre-downloader - url: https://calibre-downloader.alexlebens.net - <<: *defaults - name: tdarr url: https://tdarr.alexlebens.net <<: *defaults diff --git a/clusters/cl01tl/services/blocky/values.yaml b/clusters/cl01tl/services/blocky/values.yaml index d5c89467f..84af3c18a 100644 --- a/clusters/cl01tl/services/blocky/values.yaml +++ b/clusters/cl01tl/services/blocky/values.yaml @@ -112,8 +112,6 @@ blocky: backrest IN CNAME traefik-cl01tl bazarr IN CNAME traefik-cl01tl booklore IN CNAME traefik-cl01tl - calibre IN CNAME traefik-cl01tl - calibre-downloader IN CNAME traefik-cl01tl ceph IN CNAME traefik-cl01tl code-server IN CNAME traefik-cl01tl ephemera IN CNAME traefik-cl01tl diff --git a/hosts/ps08rp/blocky/config.yml b/hosts/ps08rp/blocky/config.yml index 70e467fc6..874492a5b 100644 --- a/hosts/ps08rp/blocky/config.yml +++ b/hosts/ps08rp/blocky/config.yml @@ -88,8 +88,6 @@ customDNS: backrest IN CNAME traefik-cl01tl bazarr IN CNAME traefik-cl01tl booklore IN CNAME traefik-cl01tl - calibre IN CNAME traefik-cl01tl - calibre-downloader IN CNAME traefik-cl01tl ceph IN CNAME traefik-cl01tl code-server IN CNAME traefik-cl01tl ephemera IN CNAME traefik-cl01tl diff --git a/hosts/ps09rp/blocky/config.yml b/hosts/ps09rp/blocky/config.yml index 70e467fc6..874492a5b 100644 --- a/hosts/ps09rp/blocky/config.yml +++ b/hosts/ps09rp/blocky/config.yml @@ -88,8 +88,6 @@ customDNS: backrest IN CNAME traefik-cl01tl bazarr IN CNAME traefik-cl01tl booklore IN CNAME traefik-cl01tl - calibre IN CNAME traefik-cl01tl - calibre-downloader IN CNAME traefik-cl01tl ceph IN CNAME traefik-cl01tl code-server IN CNAME traefik-cl01tl ephemera IN CNAME traefik-cl01tl