apiVersion: apps/v1 kind: Deployment metadata: name: audiobookshelf labels: app.kubernetes.io/controller: main app.kubernetes.io/instance: audiobookshelf app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: audiobookshelf helm.sh/chart: audiobookshelf-4.6.2 namespace: audiobookshelf spec: revisionHistoryLimit: 3 replicas: 1 strategy: type: Recreate selector: matchLabels: app.kubernetes.io/controller: main app.kubernetes.io/name: audiobookshelf app.kubernetes.io/instance: audiobookshelf template: metadata: labels: app.kubernetes.io/controller: main app.kubernetes.io/instance: audiobookshelf app.kubernetes.io/name: audiobookshelf spec: enableServiceLinks: false serviceAccountName: default automountServiceAccountToken: true securityContext: fsGroup: 1000 fsGroupChangePolicy: OnRootMismatch hostIPC: false hostNetwork: false hostPID: false dnsPolicy: ClusterFirst containers: - env: - name: TZ value: America/Chicago - name: PGID value: "1000" - name: PUID value: "1000" - name: APPRISE_STORAGE_MODE value: memory - name: APPRISE_STATEFUL_MODE value: disabled - name: APPRISE_WORKER_COUNT value: "1" - name: APPRISE_STATELESS_URLS valueFrom: secretKeyRef: key: ntfy-url name: audiobookshelf-config-apprise image: ghcr.io/caronc/apprise:v1.4.0@sha256:9d97a6b9b42cf6afdf3b5466dbed2a59cd42a4bb777ec6aa57b5f2ee623569eb name: apprise-api - env: - name: TZ value: America/Chicago image: ghcr.io/advplyr/audiobookshelf:2.34.0@sha256:4143292c530f6ac6700afd13360c04f477e4f1a81c1c97c4224b1c7e4330c5c4 name: main resources: requests: cpu: 1m memory: 200Mi volumeMounts: - mountPath: /mnt/store/Audiobooks name: audiobooks - mountPath: /mnt/store/Books name: books - mountPath: /config name: config - mountPath: /metadata name: metadata - mountPath: /mnt/store/Podcasts name: podcasts volumes: - name: audiobooks persistentVolumeClaim: claimName: audiobookshelf-audiobooks-nfs-storage - name: books persistentVolumeClaim: claimName: audiobookshelf-books-nfs-storage - name: config persistentVolumeClaim: claimName: audiobookshelf-config - name: metadata persistentVolumeClaim: claimName: audiobookshelf-metadata - name: podcasts persistentVolumeClaim: claimName: audiobookshelf-podcasts-nfs-storage