Skip to content

Commit

Permalink
Merge pull request #94 from jgilfoil/feature/ready-media
Browse files Browse the repository at this point in the history
Feature/ready media
  • Loading branch information
jgilfoil authored Feb 29, 2024
2 parents 2ce56a4 + 8366903 commit 62bc6c9
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 7 deletions.
4 changes: 2 additions & 2 deletions kubernetes/apps/media/prowlarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ spec:
namespace: rook-ceph
- name: volsync
namespace: storage
- name: minio
namespace: storage
- name: vpn-gateway
namespace: network
values:
defaultPodOptions:
annotations:
Expand Down
5 changes: 0 additions & 5 deletions kubernetes/apps/media/prowlarr/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,3 @@ spec:
NAMESPACE: *namespace
VOLSYNC_CAPACITY: 1Gi
VOLSYNC_CACHE_CAPCITY: 1Gi
# substituteFrom:
# - kind: ConfigMap
# name: cluster-settings
# - kind: Secret
# name: cluster-secrets
26 changes: 26 additions & 0 deletions kubernetes/templates/volsync/replicationsource.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
apiVersion: volsync.backube/v1alpha1
kind: ReplicationSource
metadata:
name: "${APP}"
namespace: media
spec:
sourcePVC: "${APP}"
trigger:
schedule: "0 */4 * * *"
restic:
copyMethod: Snapshot
pruneIntervalDays: 3
repository: "${APP}-restic-secret"
cacheCapacity: "${VOLSYNC_CACHE_CAPCITY}"
volumeSnapshotClassName: csi-ceph-blockpool
storageClassName: ceph-block
moverSecurityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
retain:
hourly: 9
daily: 15
weekly: 3
monthly: 3
2 changes: 2 additions & 0 deletions scripts/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
kubernetes
tabulate

0 comments on commit 62bc6c9

Please sign in to comment.