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

Adding support for specific named resources during backup and restore #25

Open
wants to merge 1 commit into
base: v1.14.0.x
Choose a base branch
from

Conversation

sshende-catalogicsoftware
Copy link

@sshende-catalogicsoftware sshende-catalogicsoftware commented Feb 10, 2025

Adding support for specific named resources during backup and restore

  • Bump Velero Image Tag version from v1.14.0.14 to v1.14.0.15
  • Add a new field "IncludeNamedResources" to backup and restore CRs
  • Updated Backup and Restore controller to include named resources in scope
  • backup_controller.go → Add IncludeNamedResources support in backup request processing
  • request.go → Extend backup and restore request struct to include IncludeNamedResources
  • restore_controller.go → Pass IncludeNamedResources to restore execution
  • restore.go → Modify restore logic to restore only named resources
  • Auto-generated files.

Does your change fix a particular issue?

Fixes KUBEDR-6343

Please indicate you've done the following:

@sshende-catalogicsoftware sshende-catalogicsoftware force-pushed the Swanand-KubeDR-6364 branch 7 times, most recently from e5f6518 to 46914e7 Compare February 17, 2025 11:44
@sshende-catalogicsoftware sshende-catalogicsoftware marked this pull request as ready for review February 17, 2025 12:14
@sshende-catalogicsoftware sshende-catalogicsoftware changed the title Swanand kube dr 6364 Adding support for specific named resources during backup and restore Feb 17, 2025
@dzaninovic
Copy link
Collaborator

This PR will change velero.io to cloudcasa.io,
Do you have changes to cloudcasa repository that makes the same change?
For example to change the label "velero.io/exclude-from-backup" to "cloudcasa.io/exclude-from-backup".

@sshende-catalogicsoftware
Copy link
Author

This PR will change velero.io to cloudcasa.io, Do you have changes to cloudcasa repository that makes the same change? For example to change the label "velero.io/exclude-from-backup" to "cloudcasa.io/exclude-from-backup".

Yes, the DRAFT PR for changes to Cloudcasa repository is here: https://github.com/catalogicsoftware/cloudcasa/pull/60183. Also, we have just changed the group name in the CRD's. Any labels/annotations used elsewhere in the Velero code base remains unchanged.

- Bump Velero Image Tag version from v1.14.0.15 to v1.14.0.16
- Add a new field "IncludeNamedResources" to backup and restore CRs
- Updated Backup and Restore controller to include named resources in scope
- backup_controller.go → Add IncludeNamedResources support in backup request processing
- request.go → Extend backup and restore request struct to include IncludeNamedResources
- restore_controller.go → Pass IncludeNamedResources to restore execution
- restore.go → Modify restore logic to restore only named resources
- Auto-generated files.

fixes KUBEDR-6343
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants