-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Velero Kopia Integration - Rename DefaultVolumesToRestic in Backup CRD #5269
Comments
We need to be careful here b/c it may involve the upgrade of CR. |
As the discussion, completely removing |
I think it would be reasonable to support multiple CRD versions here which will allow two types of Backup CR to co-exist on the same cluster. |
tldr backup/v1 uses We could have a CRD compatibility matrix to clarify that velero v1.11 (or some other version) is compatible with backup/v1 and backup/v2. To use kopia, you would use v2 CRD. |
@kaovilai Therefore, it is not necessary to support a dedicate version with |
When making changes like replacing a field, from Kubernetes best practices, it is best to have a completely new APIVersion signifying a change. We should follow CRD versioning convention when possible. |
Following k8s convention, we would use https://github.com/kubernetes-sigs/kube-storage-version-migrator for migrating from |
yes, so we've deferred this, in v1.10, we will not replace it, we leave it there and don't change the CRD version. |
Before introducing any breaking change, I believe we need a broader discussion about the versioning strategy in velero. In terms of the workflow, AFAIK conversion webhook is the more common approach to handle the migration of CRDs. Given that v1.11 is a relatively short release, this may need to be pushed out of it so that we have more time to discuss and clarify what should be done. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
not-stale :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing the stale issue. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. If a Velero team member has requested log or more information, please provide the output of the shared commands. |
This issue was closed because it has been stalled for 14 days with no activity. |
Epic: #5050
Design: #4926
DefaultVolumesToRestic
exists in Backup CRD, when adding kopia path, the name is not reasonable, need to rename it.For compatibility consideration, the old parameter of the existing CRs created by old versions should also be respected.
The text was updated successfully, but these errors were encountered: