🩹 media-browser helmrelease

This commit is contained in:
auricom
2022-12-29 13:36:55 +01:00
parent f71a39afa7
commit 0469bc902a

View File

@@ -3,7 +3,7 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: &app komga name: &app media-browser
namespace: default namespace: default
spec: spec:
interval: 15m interval: 15m
@@ -27,16 +27,34 @@ spec:
namespace: rook-ceph namespace: rook-ceph
values: values:
image: image:
repository: gotson/komga repository: docker.io/filebrowser/filebrowser
tag: "0.157.5" tag: v2.23.0
env: env:
TZ: "${TIMEZONE}" TZ: "${TIMEZONE}"
SERVER_PORT: &port 8080 FB_DATABASE: "/config/filebrowser.db"
FB_ROOT: "/media"
FB_LOG: "stdout"
FB_NOAUTH: "true"
service: service:
main: main:
ports: ports:
http: http:
port: &port 80
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /health
port: *port port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
ingress: ingress:
main: main:
enabled: true enabled: true
@@ -51,26 +69,31 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
podSecurityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: "OnRootMismatch"
supplementalGroups:
- 100
persistence: persistence:
config: config:
enabled: true enabled: true
existingClaim: komga-config existingClaim: media-browser-config
comics: music:
enabled: true enabled: true
type: nfs type: nfs
server: "${LOCAL_LAN_TRUENAS}" server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/home/claude/comics path: /mnt/storage/music
mountPath: /mnt/storage/home/claude/comics mountPath: /mnt/storage/music
photo:
enabled: true
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/photo
mountPath: /mnt/storage/photo
video:
enabled: true
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/video
mountPath: /mnt/storage/video
resources: resources:
requests: requests:
memory: 4282M cpu: 10m
cpu: 15m memory: 50Mi
limits: limits:
memory: 4282M memory: 500Mi