pkg/restic: check for & skip hostPath PVC/PVs

Signed-off-by: Steve Kriss <krisss@vmware.com>
This commit is contained in:
Steve Kriss
2019-03-19 08:57:47 -06:00
parent 183bea369d
commit 7d66fc31bd
5 changed files with 183 additions and 30 deletions
+2
View File
@@ -489,6 +489,8 @@ func (s *server) initRestic() error {
s.sharedInformerFactory.Velero().V1().ResticRepositories(),
s.veleroClient.VeleroV1(),
s.sharedInformerFactory.Velero().V1().BackupStorageLocations(),
s.kubeClient.CoreV1(),
s.kubeClient.CoreV1(),
s.logger,
)
if err != nil {