Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vault): setup volsync backup #4403

Merged
merged 1 commit into from
Jan 28, 2025
Merged

Conversation

jazzlyn
Copy link
Collaborator

@jazzlyn jazzlyn commented Jan 28, 2025

No description provided.

@tyriis-automation
Copy link
Contributor

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ EDITORCONFIG editorconfig-checker 5 0 0.01s
✅ REPOSITORY gitleaks yes no 2.92s
✅ YAML prettier 4 0 0.4s
✅ YAML yamllint 5 0 0.36s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@tyriis-automation
Copy link
Contributor

--- kubernetes/talos-flux/apps/secops/vault/app Kustomization: flux-system/vault ReplicationSource: secops/data-vault-0

+++ kubernetes/talos-flux/apps/secops/vault/app Kustomization: flux-system/vault ReplicationSource: secops/data-vault-0

@@ -0,0 +1,33 @@

+---
+apiVersion: volsync.backube/v1alpha1
+kind: ReplicationSource
+metadata:
+  labels:
+    kustomize.toolkit.fluxcd.io/name: vault
+    kustomize.toolkit.fluxcd.io/namespace: flux-system
+  name: data-vault-0
+  namespace: secops
+spec:
+  restic:
+    accessModes:
+    - ReadWriteOnce
+    cacheAccessModes:
+    - ReadWriteOnce
+    cacheCapacity: 1Gi
+    cacheStorageClassName: ceph-block
+    copyMethod: Snapshot
+    moverSecurityContext:
+      fsGroup: 1000
+      runAsGroup: 1000
+      runAsUser: 1000
+    pruneIntervalDays: 14
+    repository: vault-volsync
+    retain:
+      daily: 7
+      hourly: 24
+    storageClassName: ceph-block
+    volumeSnapshotClassName: csi-ceph-blockpool
+  sourcePVC: data-vault-0
+  trigger:
+    schedule: 0 * * * *
+

@jazzlyn jazzlyn merged commit dc0c797 into main Jan 28, 2025
16 checks passed
@jazzlyn jazzlyn deleted the feature/vault-setup-volsync-backup branch January 28, 2025 19:36
@jazzlyn jazzlyn mentioned this pull request Jan 29, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant