60 lines
1.5 KiB
YAML
60 lines
1.5 KiB
YAML
book-bounty:
|
|
controllers:
|
|
main:
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: thewicklowwolf/bookbounty
|
|
tag: latest@sha256:c2fb67ad63f31ac6e42877f588e326025b362bf588377ce6bc879f55eae12fbd
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: readarr_address
|
|
value: http://readarr-books.readarr-books:80
|
|
- name: readarr_api_key
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: book-bounty-secret
|
|
key: readarr_api_key
|
|
- name: sleep_interval
|
|
value: 360
|
|
- name: sync_schedule
|
|
value: 4
|
|
- name: selected_path_type
|
|
value: folder
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
serviceAccount:
|
|
create: true
|
|
service:
|
|
main:
|
|
controller: main
|
|
ports:
|
|
http:
|
|
port: 80
|
|
targetPort: 5000
|
|
protocol: HTTP
|
|
persistence:
|
|
config:
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 5Gi
|
|
retain: true
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /bookbounty/config
|
|
readOnly: false
|
|
books:
|
|
existingClaim: book-bounty-nfs-storage
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /bookbounty/downloads
|
|
readOnly: false
|