Use backup location in the backup controller

Fixes #739

Signed-off-by: Nolan Brubaker <nolan@heptio.com>
This commit is contained in:
Nolan Brubaker
2018-08-16 18:41:59 -04:00
committed by Steve Kriss
parent 06b5af449f
commit c6f488f75f
4 changed files with 153 additions and 50 deletions

View File

@@ -635,13 +635,13 @@ func (s *server) runControllers(config *api.Config) error {
s.sharedInformerFactory.Ark().V1().Backups(),
s.arkClient.ArkV1(),
backupper,
config.BackupStorageProvider.CloudProviderConfig,
config.BackupStorageProvider.Bucket,
s.blockStore != nil,
s.logger,
s.logLevel,
s.pluginRegistry,
backupTracker,
s.sharedInformerFactory.Ark().V1().BackupStorageLocations(),
s.defaultBackupLocation,
s.metrics,
)
wg.Add(1)