⬆️ 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,10 +26,16 @@ spec:
retries: 3 retries: 3
uninstall: uninstall:
keepHistory: false keepHistory: false
dependsOn:
- name: komga
values: values:
controller: controllers:
main:
type: statefulset
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
containers:
main:
image: image:
repository: sndxr/komf repository: sndxr/komf
tag: "0.31.6" tag: "0.31.6"
@@ -39,25 +45,34 @@ spec:
envFrom: envFrom:
- secretRef: - secretRef:
name: komf-secret name: komf-secret
service:
main:
ports:
http:
port: &port 8085
persistence:
config:
enabled: true
existingClaim: komf-config
configmap:
enabled: true
type: configMap
name: komf-configmap
subPath: application.yml
mountPath: /config/application.yml
readOnly: true
resources: resources:
requests: requests:
memory: 4282M memory: 4282M
cpu: 15m cpu: 15m
limits: limits:
memory: 4282M memory: 4282M
statefulset:
volumeClaimTemplates:
- name: config
accessMode: ReadWriteOnce
size: 1Gi
storageClass: rook-ceph-block
globalMounts:
- path: /config
service:
main:
ports:
http:
port: 8085
persistence:
configmap:
enabled: true
type: configMap
name: komf-configmap
advancedMounts:
main:
main:
- path: /config/application.yml
readOnly: true
subPath: application.yml

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