mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 23:45:25 +02:00
81 lines
1.9 KiB
YAML
81 lines
1.9 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app komga
|
|
namespace: default
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 3.0.4
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
maxHistory: 2
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
strategy: rollback
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
values:
|
|
controllers:
|
|
komga:
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: gotson/komga
|
|
tag: 1.10.4@sha256:5b4f581be33141f07abed7bb665077352fb046183f3614b0a647530588784735
|
|
env:
|
|
TZ: "${TIMEZONE}"
|
|
SERVER_PORT: &port 8080
|
|
resources:
|
|
requests:
|
|
memory: 4282M
|
|
cpu: 15m
|
|
limits:
|
|
memory: 4282M
|
|
service:
|
|
app:
|
|
controller: *app
|
|
ports:
|
|
http:
|
|
port: *port
|
|
ingress:
|
|
app:
|
|
enabled: true
|
|
annotations:
|
|
hajimari.io/icon: mdi:ideogram-cjk-variant
|
|
className: nginx
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
service:
|
|
identifier: app
|
|
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
|