⬆️ 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: 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,12 +27,31 @@ spec:
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
image: controllers:
repository: gotson/komga main:
tag: "1.7.0" type: statefulset
env: containers:
TZ: "${TIMEZONE}" main:
SERVER_PORT: &port 8080 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: service:
main: main:
ports: ports:
@@ -43,35 +62,21 @@ spec:
enabled: true enabled: true
annotations: annotations:
hajimari.io/icon: mdi:ideogram-cjk-variant hajimari.io/icon: mdi:ideogram-cjk-variant
ingressClassName: "nginx" className: "nginx"
hosts: hosts:
- 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
podSecurityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: "OnRootMismatch"
supplementalGroups:
- 100
persistence: persistence:
config:
enabled: true
existingClaim: komga-config
comics: comics:
enabled: true
type: nfs type: nfs
server: "${LOCAL_LAN_TRUENAS}" server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/home/claude/comics path: /mnt/storage/home/claude/comics
mountPath: /mnt/storage/home/claude/comics globalMounts:
resources: - path: /mnt/storage/home/claude/comics
requests:
memory: 4282M
cpu: 15m
limits:
memory: 4282M

View File

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

View File

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