2026-03-22 18:20:11 -04:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
|
|
|
|
kompose.cmd: kompose convert -f compose-ll.yaml
|
|
|
|
|
kompose.version: 1.38.0 (HEAD)
|
|
|
|
|
labels:
|
|
|
|
|
io.kompose.service: lazylibrarian
|
|
|
|
|
name: lazylibrarian
|
|
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
io.kompose.service: lazylibrarian
|
|
|
|
|
strategy:
|
|
|
|
|
type: Recreate
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
|
|
|
|
kompose.cmd: kompose convert -f compose-ll.yaml
|
|
|
|
|
kompose.version: 1.38.0 (HEAD)
|
2026-04-07 14:55:55 -04:00
|
|
|
vault.hashicorp.com/agent-inject: "true"
|
|
|
|
|
vault.hashicorp.com/role: "lazylibrarian-role"
|
|
|
|
|
vault.hashicorp.com/agent-inject-secret-credentials: "secret/data/lazylibrarian/config"
|
|
|
|
|
vault.hashicorp.com/agent-inject-template-credentials: |
|
|
|
|
|
{{- with secret "secret/data/lazylibrarian/config" -}}
|
|
|
|
|
export HARDCOVER_API_KEY="{{ .Data.data.hardcover_api_key }}"
|
|
|
|
|
{{- end -}}
|
2026-03-22 18:20:11 -04:00
|
|
|
labels:
|
|
|
|
|
io.kompose.service: lazylibrarian
|
|
|
|
|
spec:
|
2026-04-07 14:55:55 -04:00
|
|
|
serviceAccountName: lazylibrarian-sa
|
2026-03-22 18:20:11 -04:00
|
|
|
containers:
|
|
|
|
|
- env:
|
|
|
|
|
- name: DOCKER_MODS
|
|
|
|
|
value: linuxserver/mods:universal-calibre|linuxserver/mods:lazylibrarian-ffmpeg
|
|
|
|
|
- name: PGID
|
|
|
|
|
value: "1000"
|
|
|
|
|
- name: PUID
|
|
|
|
|
value: "1000"
|
|
|
|
|
- name: TZ
|
|
|
|
|
value: America/New_York
|
|
|
|
|
image: lscr.io/linuxserver/lazylibrarian:latest
|
|
|
|
|
name: lazylibrarian
|
|
|
|
|
ports:
|
|
|
|
|
- containerPort: 5299
|
|
|
|
|
protocol: TCP
|
2026-04-03 21:52:07 -04:00
|
|
|
name: web-ui
|
2026-03-22 18:20:11 -04:00
|
|
|
volumeMounts:
|
|
|
|
|
- mountPath: /config
|
|
|
|
|
name: lazylibrarian-config
|
|
|
|
|
- mountPath: /downloads
|
|
|
|
|
name: lazylibrarian-downloads
|
|
|
|
|
- mountPath: /data
|
|
|
|
|
name: lazylibrarian-data
|
|
|
|
|
restartPolicy: Always
|
|
|
|
|
volumes:
|
|
|
|
|
- name: lazylibrarian-config
|
|
|
|
|
nfs:
|
|
|
|
|
server: birdfeeder2.home.nest
|
|
|
|
|
path: /k3s/lazy-librarian
|
|
|
|
|
- name: lazylibrarian-downloads
|
|
|
|
|
nfs:
|
|
|
|
|
server: birdfeeder1.home.nest
|
|
|
|
|
path: /yarr/downloads
|
|
|
|
|
- name: lazylibrarian-data
|
|
|
|
|
nfs:
|
|
|
|
|
server: birdfeeder1.home.nest
|
|
|
|
|
path: /yarr
|