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 apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
@ -77,11 +78,21 @@ spec:
port: http port: http
persistence: persistence:
config: config:
type: hostPath type: persistentVolumeClaim
hostPath: /mnt/MainPool/Kubernetes/tautulli existingClaim: tautulli
globalMounts: globalMounts:
- path: /config - path: /config
# Read only file system, must mount something
tmp: tmp:
type: emptyDir type: emptyDir
# Dont backup logs or cache
logs:
type: emptyDir
globalMounts: 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 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
#- ../../../../../common/templates/volsync - ../../../../../common/templates/volsync
- ./helm-release.yaml - ./helm-release.yaml

View file

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