diff --git a/clusters/cl01tl/applications/audiobookshelf/Chart.yaml b/clusters/cl01tl/applications/audiobookshelf/Chart.yaml index 43704738d..bdfc40aef 100644 --- a/clusters/cl01tl/applications/audiobookshelf/Chart.yaml +++ b/clusters/cl01tl/applications/audiobookshelf/Chart.yaml @@ -15,8 +15,9 @@ sources: maintainers: - name: alexlebens dependencies: - - name: audiobookshelf - version: 2.0.0 - repository: https://k8s-home-lab.github.io/helm-charts/ + - name: app-template + alias: audiobookshelf + repository: https://bjw-s.github.io/helm-charts/ + version: 3.2.1 icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/audiobookshelf.png appVersion: 2.10.1 diff --git a/clusters/cl01tl/applications/audiobookshelf/templates/persistent-volume-claim.yaml b/clusters/cl01tl/applications/audiobookshelf/templates/persistent-volume-claim.yaml index b91ce0a19..888e53646 100644 --- a/clusters/cl01tl/applications/audiobookshelf/templates/persistent-volume-claim.yaml +++ b/clusters/cl01tl/applications/audiobookshelf/templates/persistent-volume-claim.yaml @@ -4,7 +4,7 @@ metadata: name: audiobookshelf-nfs-storage-backup namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: {{ .Release.Name }} + app.kubernetes.io/name: audiobookshelf-nfs-storage-backup app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/component: storage @@ -25,7 +25,7 @@ metadata: name: audiobookshelf-nfs-storage namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: {{ .Release.Name }} + app.kubernetes.io/name: audiobookshelf-nfs-storage app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/component: storage diff --git a/clusters/cl01tl/applications/audiobookshelf/templates/persistent-volume.yaml b/clusters/cl01tl/applications/audiobookshelf/templates/persistent-volume.yaml index f710f90e2..6ab16dee3 100644 --- a/clusters/cl01tl/applications/audiobookshelf/templates/persistent-volume.yaml +++ b/clusters/cl01tl/applications/audiobookshelf/templates/persistent-volume.yaml @@ -4,7 +4,7 @@ metadata: name: audiobookshelf-nfs-storage namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: {{ .Release.Name }} + app.kubernetes.io/name: audiobookshelf-nfs-storage app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/version: {{ .Chart.AppVersion }} app.kubernetes.io/component: storage @@ -17,8 +17,8 @@ spec: accessModes: - ReadWriteMany nfs: - path: {{ .Values.storage.nfs.path }} - server: {{ .Values.storage.nfs.server }} + path: /volume2/Storage + server: synologybond.alexlebens.net mountOptions: - vers=4 - minorversion=1 diff --git a/clusters/cl01tl/applications/audiobookshelf/values.yaml b/clusters/cl01tl/applications/audiobookshelf/values.yaml index 3f32726cd..bc80d49b5 100644 --- a/clusters/cl01tl/applications/audiobookshelf/values.yaml +++ b/clusters/cl01tl/applications/audiobookshelf/values.yaml @@ -1,13 +1,37 @@ audiobookshelf: - image: - repository: ghcr.io/advplyr/audiobookshelf - tag: 2.10.1 - env: - TZ: US/Central + controllers: + main: + type: deployment + replicas: 1 + strategy: Recreate + revisionHistoryLimit: 3 + containers: + main: + image: + repository: ghcr.io/advplyr/audiobookshelf + tag: 2.10.1 + 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 - ingressClassName: traefik + className: traefik annotations: traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.tls: "true" @@ -17,32 +41,46 @@ audiobookshelf: paths: - path: / pathType: Prefix + service: + name: audiobookshelf + port: 80 tls: - secretName: audiobookshelf-secret-tls hosts: - - audiobookshelf.alexlebens.net + - audiobookshelf.alexlebens.net persistence: config: - enabled: true - mountPath: /config + storageClass: ceph-block accessMode: ReadWriteOnce size: 2Gi + retain: true + advancedMounts: + main: + main: + - path: /config + readOnly: false metadata: - enabled: true - mountPath: /metadata + storageClass: ceph-block accessMode: ReadWriteOnce size: 10Gi + retain: true + advancedMounts: + main: + main: + - path: /metadata + readOnly: false backup: - enabled: true - mountPath: /metadata/backups - type: pvc existingClaim: audiobookshelf-nfs-storage-backup + advancedMounts: + main: + main: + - path: /metadata/backups + readOnly: false audiobooks: - enabled: true - mountPath: /mnt/store/ - type: pvc existingClaim: audiobookshelf-nfs-storage -storage: - nfs: - path: /volume2/Storage - server: synologybond.alexlebens.net + advancedMounts: + main: + main: + - path: /mnt/store/ + readOnly: false + \ No newline at end of file