mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 13:55:20 +00:00
Add the Carvel package related resources to the restore priority list
Add the Carvel package related resources to the restore priority list Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
This commit is contained in:
@@ -105,6 +105,8 @@ var (
|
||||
- CAPI Clusters come before ClusterResourceSets because failing to do so means the CAPI controller-manager will panic.
|
||||
Both Clusters and ClusterResourceSets need to come before ClusterResourceSetBinding in order to properly restore workload clusters.
|
||||
See https://github.com/kubernetes-sigs/cluster-api/issues/4105
|
||||
- apps.kappctrl.k14s.io and packageinstalls.packaging.carvel.dev go after workloads(pod/replicaset/etc.), otherwise the controller may
|
||||
creates new workloads before restoring them
|
||||
*/
|
||||
defaultRestorePriorities = types.Priorities{
|
||||
HighPriorities: []string{
|
||||
@@ -135,6 +137,8 @@ var (
|
||||
"clusterbootstraps.run.tanzu.vmware.com",
|
||||
"clusters.cluster.x-k8s.io",
|
||||
"clusterresourcesets.addons.cluster.x-k8s.io",
|
||||
"apps.kappctrl.k14s.io",
|
||||
"packageinstalls.packaging.carvel.dev",
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user