Skip to content

Commit bd424cc

Browse files
committed
Comment out unused replicationdestination.yaml and volsync configurations in kustomization.yaml for Plex application, further streamlining media application management.
1 parent 9cf9658 commit bd424cc

File tree

3 files changed

+44
-1
lines changed

3 files changed

+44
-1
lines changed

clusters/talos-ottawa/apps/media/app/plex/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ resources:
77
- service.yaml
88
- pvc-config.yaml
99
- httproute.yaml
10-
# - replicationdestination.yaml
1110
# - volsync-restore.yaml
1211
# - volsync-backup.yaml
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
apiVersion: volsync.backube/v1alpha1
2+
kind: ReplicationSource
3+
metadata:
4+
name: media-plex-config
5+
spec:
6+
sourcePVC: plex-config
7+
trigger:
8+
schedule: "0 8 * * *"
9+
restic:
10+
pruneIntervalDays: 14
11+
repository: restic-media-plex-config
12+
retain:
13+
hourly: 1
14+
daily: 3
15+
weekly: 4
16+
monthly: 2
17+
yearly: 1
18+
copyMethod: Direct
19+
---
20+
apiVersion: v1
21+
kind: Secret
22+
metadata:
23+
name: restic-media-plex-config
24+
type: Opaque
25+
stringData:
26+
RESTIC_REPOSITORY: s3:https://${COMMON_S3_ENDPOINT}/keiretsu/${LOCATION}/media/plex-config
27+
RESTIC_PASSWORD: ${COMMON_RESTIC_SECRET}
28+
AWS_ACCESS_KEY_ID: ${COMMON_S3_ACCESS_KEY}
29+
AWS_SECRET_ACCESS_KEY: ${COMMON_S3_SECRET_KEY}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: volsync.backube/v1alpha1
2+
kind: ReplicationDestination
3+
metadata:
4+
name: plex-config
5+
spec:
6+
trigger:
7+
manual: first
8+
paused: false
9+
restic:
10+
repository: restic-media-plex-config
11+
accessModes: [ReadWriteOnce]
12+
copyMethod: Snapshot
13+
capacity: 5Gi
14+
storageClassName: ceph-block-replicated
15+
volumeSnapshotClassName: csi-rbdplugin-snapclass

0 commit comments

Comments
 (0)