mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-10-01 04:05:38 +00:00
Add param disable informer cache for velero installation
Signed-off-by: danfengl <danfengl@vmware.com>
This commit is contained in:
@@ -165,6 +165,10 @@ func MigrationTest(useVolumeSnapshots bool, veleroCLI2Version VeleroCLI2Version)
|
||||
OriginVeleroCfg.VeleroImage = ""
|
||||
OriginVeleroCfg.RestoreHelperImage = ""
|
||||
OriginVeleroCfg.Plugins = ""
|
||||
//TODO: Remove this setting when migration path is from 1.13 to higher version
|
||||
//TODO: or self, because version 1.12 and older versions have no this parameter.
|
||||
OriginVeleroCfg.WithoutDisableInformerCacheParam = true
|
||||
OriginVeleroCfg.DisableInformerCache = false
|
||||
}
|
||||
Expect(VeleroInstall(context.Background(), &OriginVeleroCfg, false)).To(Succeed())
|
||||
if veleroCLI2Version.VeleroVersion != "self" {
|
||||
|
||||
Reference in New Issue
Block a user