Merge pull request #7664 from shubham-pampattiwar/vol-policy-extension-impl

Extend Volume Policies feature to support more actions
This commit is contained in:
lyndon-li
2024-04-24 13:39:36 +08:00
committed by GitHub
14 changed files with 1348 additions and 63 deletions

View File

@@ -758,7 +758,7 @@ func (s *server) runControllers(defaultVolumeSnapshotLocations map[string]string
if _, ok := enabledRuntimeControllers[controller.Backup]; ok {
backupper, err := backup.NewKubernetesBackupper(
s.mgr.GetClient(),
s.crClient,
s.discoveryHelper,
client.NewDynamicFactory(s.dynamicClient),
podexec.NewPodCommandExecutor(s.kubeClientConfig, s.kubeClient.CoreV1().RESTClient()),