mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-05 13:05:17 +00:00
Add Velero-installed namespace to exlucde list for scale test.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
This commit is contained in:
committed by
Xun Jiang/Bruce Jiang
parent
7db3eeac58
commit
e736376d69
@@ -69,6 +69,8 @@ func (m *MultiNSBackup) Init() error {
|
||||
for _, excludeNamespace := range namespaces.Items {
|
||||
*m.NSExcluded = append(*m.NSExcluded, excludeNamespace.Name)
|
||||
}
|
||||
// Add Velero installed namespace into the exclude list.
|
||||
*m.NSExcluded = append(*m.NSExcluded, m.VeleroCfg.VeleroNamespace)
|
||||
|
||||
m.BackupArgs = []string{
|
||||
"create", "--namespace", m.VeleroCfg.VeleroNamespace, "backup", m.BackupName,
|
||||
|
||||
Reference in New Issue
Block a user