Skip to content

Commit

Permalink
feat(minecraft): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Feb 5, 2025
1 parent a533084 commit 2ddd89e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 47 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: minecraft-survival-world-data
labels:
kustomize.toolkit.fluxcd.io/prune: disabled
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
storageClassName: ceph-block
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: minecraft-survival-world-data-2025
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
apiVersion: volsync.backube/v1alpha1
kind: ReplicationDestination
metadata:
name: minecraft-survival-world-data
name: minecraft-survival-world-data-2025
labels:
# https://fluxcd.io/flux/components/kustomize/kustomizations/#controlling-the-apply-behavior-of-resources
kustomize.toolkit.fluxcd.io/ssa: IfNotPresent
spec:
trigger:
manual: restore-once
restic:
repository: minecraft-survival-world-data-volsync
repository: minecraft-survival-world-data-2025-volsync
copyMethod: Snapshot
volumeSnapshotClassName: csi-ceph-blockpool
cacheStorageClassName: ceph-block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,6 @@
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/volsync.backube/replicationsource_v1alpha1.json
apiVersion: volsync.backube/v1alpha1
kind: ReplicationSource
metadata:
name: minecraft-survival-world-data
spec:
sourcePVC: minecraft-survival-world-data
trigger:
schedule: "5 * * * *"
restic:
copyMethod: Snapshot
pruneIntervalDays: 14
repository: minecraft-survival-world-data-volsync
volumeSnapshotClassName: csi-ceph-blockpool
cacheCapacity: 5Gi
cacheStorageClassName: ceph-block
cacheAccessModes:
- ReadWriteOnce
storageClassName: ceph-block
accessModes:
- ReadWriteOnce
moverSecurityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
retain:
hourly: 24
daily: 7
weekly: 4
monthly: 3
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/volsync.backube/replicationsource_v1alpha1.json
apiVersion: volsync.backube/v1alpha1
kind: ReplicationSource
metadata:
name: minecraft-survival-world-data-2025
spec:
Expand Down

0 comments on commit 2ddd89e

Please sign in to comment.