⬆️ calibre app-template v2

This commit is contained in:
auricom
2023-10-31 21:33:15 +01:00
parent ab93b71e60
commit 8031cbeeaf
4 changed files with 40 additions and 54 deletions

View File

@@ -10,7 +10,7 @@ spec:
chart:
spec:
chart: app-template
version: 1.5.1
version: 2.0.3
sourceRef:
kind: HelmRepository
name: bjw-s
@@ -27,41 +27,41 @@ spec:
uninstall:
keepHistory: false
values:
image:
repository: ghcr.io/linuxserver/calibre
tag: version-v6.29.0
env:
TZ: "${TIMEZONE}"
PUID: "1026"
PGID: "1000"
persistence:
config:
enabled: true
existingClaim: calibre-config
books:
enabled: true
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/home/claude/books
mountPath: /mnt/storage/home/claude/books
controllers:
main:
type: statefulset
containers:
main:
image:
repository: ghcr.io/linuxserver/calibre
tag: version-v6.29.0
env:
TZ: "${TIMEZONE}"
PUID: "1026"
PGID: "1000"
resources:
requests:
cpu: 15m
memory: 324M
limits:
memory: 604M
statefulset:
volumeClaimTemplates:
- name: config
accessMode: ReadWriteOnce
size: 1Gi
storageClass: rook-ceph-block
globalMounts:
- path: /config
service:
main:
ports:
http:
port: 8080
webserver:
enabled: true
ports:
webserver:
enabled: true
port: 8081
protocol: TCP
targetPort: 8081
type: ClusterIP
ingress:
main:
enabled: true
ingressClassName: "nginx"
className: "nginx"
annotations:
auth.home.arpa/enabled: "true"
hajimari.io/icon: mdi:bookshelf
@@ -69,13 +69,17 @@ spec:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
service:
name: main
port: http
tls:
- hosts:
- *host
resources:
requests:
cpu: 15m
memory: 324M
limits:
memory: 604M
persistence:
books:
enabled: true
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/home/claude/books
globalMounts:
- path: /mnt/storage/home/claude/books

View File

@@ -6,5 +6,4 @@ namespace: default
resources:
- ./gatus.yaml
- ./helmrelease.yaml
- ./volume.yaml
- ./volsync.yaml

View File

@@ -30,7 +30,7 @@ metadata:
name: calibre
namespace: default
spec:
sourcePVC: calibre-config
sourcePVC: config-calibre-0
trigger:
schedule: "0 7 * * *"
restic:

View File

@@ -1,17 +0,0 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: calibre-config
namespace: default
labels:
app.kubernetes.io/name: &name calibre
app.kubernetes.io/instance: *name
snapshot.home.arpa/enabled: "true"
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: rook-ceph-block