chore(tautulli): enable volsync backups
This commit is contained in:
parent
0a9279c9fe
commit
a79acae98e
3 changed files with 20 additions and 6 deletions
kubernetes/main/apps/media/tautulli
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue