chore(tautulli): enable volsync backups

This commit is contained in:
SeanOMik 2025-03-29 14:57:12 -04:00
parent 0a9279c9fe
commit a79acae98e
Signed by: SeanOMik
GPG key ID: FEC9E2FC15235964
3 changed files with 20 additions and 6 deletions
kubernetes/main/apps/media/tautulli

View file

@ -1,3 +1,4 @@
# 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:
@ -77,11 +78,21 @@ spec:
port: http
persistence:
config:
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/tautulli
type: persistentVolumeClaim
existingClaim: tautulli
globalMounts:
- path: /config
# Read only file system, must mount something
tmp:
type: emptyDir
# Dont backup logs or cache
logs:
type: emptyDir
globalMounts:
- path: /tmp
- path: /config/logs
cache:
type: persistentVolumeClaim
size: 2G
accessMode: ReadWriteOnce
globalMounts:
- path: /config/cache

View file

@ -1,5 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
#- ../../../../../common/templates/volsync
- ./helm-release.yaml
- ../../../../../common/templates/volsync
- ./helm-release.yaml

View file

@ -2,7 +2,7 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: tautulli
name: &app tautulli
namespace: flux-system
spec:
timeout: 5m
@ -26,3 +26,6 @@ spec:
name: cluster-settings
- kind: Secret
name: cluster-secrets
substitute:
APP: *app
VOLSYNC_CAPACITY: 2Gi