feat: calibre-web

This commit is contained in:
auricom
2022-06-01 16:01:37 +02:00
parent 865ca3783a
commit cb627aace5
4 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: calibre-web
namespace: media
spec:
interval: 5m
chart:
spec:
chart: calibre-web
version: 8.3.2
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
interval: 5m
values:
image:
repository: ghcr.io/linuxserver/calibre-web
tag: amd64-version-0.6.18
env:
TZ: "${TIMEZONE}"
PUID: "1026"
PGID: "1000"
DOCKER_MODS: "amd64-version-0.6.18"
persistence:
config:
enabled: true
existingClaim: calibre-web-config
books:
enabled: true
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/home/claude/books
mountPath: /mnt/storage/home/claude/books
ingress:
main:
enabled: true
ingressClassName: "nginx"
annotations:
hajimari.io/enable: "true"
hajimari.io/icon: "text-box"
hajimari.io/appName: "calibre-web"
hosts:
- host: &host "calibre-web.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
resources:
requests:
cpu: 15m
memory: 204M
limits:
memory: 380M

View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml
- volume.yaml

View File

@@ -0,0 +1,15 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: calibre-web-config
namespace: media
labels:
kasten-io/backup: "true"
spec:
accessModes:
- ReadWriteOnce
storageClassName: rook-ceph-block
resources:
requests:
storage: 1Gi

View File

@@ -4,6 +4,7 @@ resources:
- namespace.yaml
- bazarr
- calibre
- calibre-web
- flood
- jellyfin
- jobs