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

View File

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

View File

@@ -30,7 +30,7 @@ metadata:
name: calibre name: calibre
namespace: default namespace: default
spec: spec:
sourcePVC: calibre-config sourcePVC: config-calibre-0
trigger: trigger:
schedule: "0 7 * * *" schedule: "0 7 * * *"
restic: 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