mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-15 19:56:06 +00:00
add velero-pins to repo snapshot
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
@@ -636,6 +636,7 @@ func (kr *kopiaRepository) SaveSnapshot(ctx context.Context, snap udmrepo.Snapsh
|
||||
GroupID: snap.RootObject.GroupID,
|
||||
},
|
||||
Tags: snap.Tags,
|
||||
Pins: []string{"velero-pin"},
|
||||
}
|
||||
|
||||
id, err := snapshot.SaveSnapshot(ctx, kr.rawWriter, &manifest)
|
||||
|
||||
Reference in New Issue
Block a user