⬆️ 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,41 +27,41 @@ spec:
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
image: controllers:
repository: ghcr.io/linuxserver/calibre main:
tag: version-v6.29.0 type: statefulset
env: containers:
TZ: "${TIMEZONE}" main:
PUID: "1026" image:
PGID: "1000" repository: ghcr.io/linuxserver/calibre
persistence: tag: version-v6.29.0
config: env:
enabled: true TZ: "${TIMEZONE}"
existingClaim: calibre-config PUID: "1026"
books: PGID: "1000"
enabled: true resources:
type: nfs requests:
server: "${LOCAL_LAN_TRUENAS}" cpu: 15m
path: /mnt/storage/home/claude/books memory: 324M
mountPath: /mnt/storage/home/claude/books limits:
memory: 604M
statefulset:
volumeClaimTemplates:
- name: config
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