apiVersion: apps/v1 kind: Deployment metadata: name: bookshelf namespace: stack-arr spec: replicas: 1 selector: matchLabels: app: bookshelf template: metadata: labels: app: bookshelf spec: imagePullSecrets: - name: regcred containers: - name: bookshelf image: ghcr.io/pennydreadful/bookshelf:softcover-v0.4.20.91 securityContext: capabilities: add: - NET_ADMIN ports: - containerPort: 8787 name: webui env: - name: PUID value: "1013" - name: PGID value: "1013" - name: TZ value: 'Etc/UTC' volumeMounts: - name: config mountPath: /config - name: books mountPath: /books - name: downloads mountPath: /downloads volumes: - name: config persistentVolumeClaim: claimName: bookshelf-config-pvc - name: books persistentVolumeClaim: claimName: bookshelf-books-pvc - name: downloads persistentVolumeClaim: claimName: qbittorrent-downloads-pvc