mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
66 lines
1.6 KiB
YAML
66 lines
1.6 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app komf
|
|
namespace: default
|
|
spec:
|
|
interval: 1h
|
|
chartRef:
|
|
kind: OCIRepository
|
|
name: app-template
|
|
namespace: flux-system
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
strategy: rollback
|
|
retries: 3
|
|
dependsOn:
|
|
- name: komga
|
|
values:
|
|
controllers:
|
|
komf:
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: sndxr/komf
|
|
tag: 1.3.0@sha256:166e3dbf2a97c65916ad915abecf8d191515d6c7ffa6c7c0e1ab3f4419f9d559
|
|
env:
|
|
KOMF_KOMGA_BASE_URI: http://komga.default.svc.cluster.local:8080
|
|
KOMF_LOG_LEVEL: INFO
|
|
envFrom:
|
|
- secretRef:
|
|
name: komf-secret
|
|
resources:
|
|
requests:
|
|
memory: 4282M
|
|
cpu: 15m
|
|
limits:
|
|
memory: 4282M
|
|
service:
|
|
app:
|
|
controller: *app
|
|
ports:
|
|
http:
|
|
port: 8085
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
existingClaim: *app
|
|
globalMounts:
|
|
- path: /config
|
|
configmap:
|
|
enabled: true
|
|
type: configMap
|
|
name: komf-configmap
|
|
globalMounts:
|
|
- path: /config/application.yml
|
|
readOnly: true
|
|
subPath: application.yml
|