Skip to content

Commit 9fcb0ea

Browse files
jentingroboquat
authored andcommitted
Add labels to VolumeSnapshot object
Signed-off-by: JenTing Hsiao <[email protected]>
1 parent 84307c3 commit 9fcb0ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/ws-manager/pkg/manager/monitor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,7 @@ func (m *Monitor) finalizeWorkspaceContent(ctx context.Context, wso *workspaceOb
11311131
ObjectMeta: metav1.ObjectMeta{
11321132
Name: pvcVolumeSnapshotName,
11331133
Namespace: m.manager.Config.Namespace,
1134+
Labels: wso.Pod.Labels,
11341135
},
11351136
Spec: volumesnapshotv1.VolumeSnapshotSpec{
11361137
Source: volumesnapshotv1.VolumeSnapshotSource{

0 commit comments

Comments
 (0)