feat(longhorn): configure R2 backup target with daily RecurringJob#44
Merged
Conversation
Contributor
✅ Validation passedValidation output |
- Add SOPS-encrypted Secret with R2 credentials (access key, secret key, endpoint) - Configure backupTarget to s3://longhorn-backup@apac/ in HelmRelease - Add weekly RecurringJob (Sunday 0:00 UTC, retain 4, default group)
c2ad980 to
b81b93f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
s3://longhorn-backup@apac/) に設定Changes
clusters/main/infrastructure/controllers/longhorn/r2-credentials.sops.yaml(new) — R2認証情報clusters/main/infrastructure/controllers/longhorn/recurring-job.yaml(new) — RecurringJob CRclusters/main/infrastructure/controllers/longhorn/helmrelease.yaml— backupTarget + credentialSecret追加clusters/main/infrastructure/controllers/longhorn/kustomization.yaml— 新リソース追加.gitignore—.omo/除外追加Prerequisites
Verification
マージ後、Flux reconcile → Longhorn Settings画面で BackupTarget が設定されていることを確認。
24h後にバックアップが作成されていることをLonghorn UIで確認。