mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-26 20:13:31 +02:00
79 lines
1.8 KiB
YAML
79 lines
1.8 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app komga
|
|
namespace: default
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 2.6.0
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
maxHistory: 2
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
values:
|
|
controllers:
|
|
main:
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: gotson/komga
|
|
tag: "1.10.3@sha256:d962b7a30246d2278de9587deba458fad0102f6b5b014fe0458b8ceddb099b00"
|
|
env:
|
|
TZ: "${TIMEZONE}"
|
|
SERVER_PORT: &port 8080
|
|
resources:
|
|
requests:
|
|
memory: 4282M
|
|
cpu: 15m
|
|
limits:
|
|
memory: 4282M
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: *port
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
annotations:
|
|
hajimari.io/icon: mdi:ideogram-cjk-variant
|
|
className: "nginx"
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
service:
|
|
name: main
|
|
port: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
existingClaim: *app
|
|
globalMounts:
|
|
- path: /config
|
|
comics:
|
|
type: nfs
|
|
server: "192.168.9.10"
|
|
path: /mnt/storage/home/claude/comics
|
|
globalMounts:
|
|
- path: /mnt/storage/home/claude/comics
|