⬆️ komga app-template v2

This commit is contained in:
auricom
2023-11-01 21:45:02 +01:00
parent fdf02aadbe
commit aecd64aefe
4 changed files with 33 additions and 46 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,12 +27,31 @@ spec:
uninstall:
keepHistory: false
values:
image:
repository: gotson/komga
tag: "1.7.0"
env:
TZ: "${TIMEZONE}"
SERVER_PORT: &port 8080
controllers:
main:
type: statefulset
containers:
main:
image:
repository: gotson/komga
tag: "1.7.0"
env:
TZ: "${TIMEZONE}"
SERVER_PORT: &port 8080
resources:
requests:
memory: 4282M
cpu: 15m
limits:
memory: 4282M
statefulset:
volumeClaimTemplates:
- name: config
accessMode: ReadWriteOnce
size: 20Gi
storageClass: rook-ceph-block
globalMounts:
- path: /config
service:
main:
ports:
@@ -43,35 +62,21 @@ spec:
enabled: true
annotations:
hajimari.io/icon: mdi:ideogram-cjk-variant
ingressClassName: "nginx"
className: "nginx"
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
service:
name: main
port: http
tls:
- hosts:
- *host
podSecurityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: "OnRootMismatch"
supplementalGroups:
- 100
persistence:
config:
enabled: true
existingClaim: komga-config
comics:
enabled: true
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/home/claude/comics
mountPath: /mnt/storage/home/claude/comics
resources:
requests:
memory: 4282M
cpu: 15m
limits:
memory: 4282M
globalMounts:
- path: /mnt/storage/home/claude/comics

View File

@@ -7,4 +7,3 @@ resources:
- ./gatus.yaml
- ./helmrelease.yaml
- ./volsync.yaml
- ./volume.yaml

View File

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

View File

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