⬆️ komf app-template v2

This commit is contained in:
auricom
2023-11-01 16:26:47 +01:00
parent 0692dfe89e
commit b856e05479
4 changed files with 42 additions and 45 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
@@ -26,38 +26,53 @@ spec:
retries: 3 retries: 3
uninstall: uninstall:
keepHistory: false keepHistory: false
dependsOn:
- name: komga
values: values:
controller: controllers:
annotations: main:
reloader.stakater.com/auto: "true" type: statefulset
image: annotations:
repository: sndxr/komf reloader.stakater.com/auto: "true"
tag: "0.31.6" containers:
env: main:
KOMF_KOMGA_BASE_URI: http://komga.default.svc.cluster.local:8080 image:
KOMF_LOG_LEVEL: INFO repository: sndxr/komf
envFrom: tag: "0.31.6"
- secretRef: env:
name: komf-secret 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
statefulset:
volumeClaimTemplates:
- name: config
accessMode: ReadWriteOnce
size: 1Gi
storageClass: rook-ceph-block
globalMounts:
- path: /config
service: service:
main: main:
ports: ports:
http: http:
port: &port 8085 port: 8085
persistence: persistence:
config:
enabled: true
existingClaim: komf-config
configmap: configmap:
enabled: true enabled: true
type: configMap type: configMap
name: komf-configmap name: komf-configmap
subPath: application.yml advancedMounts:
mountPath: /config/application.yml main:
readOnly: true main:
resources: - path: /config/application.yml
requests: readOnly: true
memory: 4282M subPath: application.yml
cpu: 15m
limits:
memory: 4282M

View File

@@ -7,7 +7,6 @@ resources:
- ./externalsecret.yaml - ./externalsecret.yaml
- ./helmrelease.yaml - ./helmrelease.yaml
- ./volsync.yaml - ./volsync.yaml
- ./volume.yaml
configMapGenerator: configMapGenerator:
- name: komf-configmap - name: komf-configmap
files: files:

View File

@@ -30,7 +30,7 @@ metadata:
name: komf name: komf
namespace: default namespace: default
spec: spec:
sourcePVC: komf-config sourcePVC: config-komf-0
trigger: trigger:
schedule: "0 7 * * *" schedule: "0 7 * * *"
restic: restic:

View File

@@ -1,17 +0,0 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: komf-config
namespace: default
labels:
app.kubernetes.io/name: &name komf
app.kubernetes.io/instance: *name
snapshot.home.arpa/enabled: "true"
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: rook-ceph-block