Skip to content

Commit bc4124e

Browse files
committed
[ws-manager-mk2] Fix workspace container detection
1 parent 1ca1aa6 commit bc4124e

File tree

1 file changed

+2
-1
lines changed
  • components/ws-manager-mk2/controllers

1 file changed

+2
-1
lines changed

components/ws-manager-mk2/controllers/create.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,8 @@ func newStartWorkspaceContext(ctx context.Context, cfg *config.Configuration, ws
715715
Labels: map[string]string{
716716
"app": "gitpod",
717717
"component": "workspace",
718-
wsk8s.WorkspaceIDLabel: ws.Spec.Ownership.WorkspaceID,
718+
wsk8s.MetaIDLabel: ws.Spec.Ownership.WorkspaceID,
719+
wsk8s.WorkspaceIDLabel: ws.Name,
719720
wsk8s.OwnerLabel: ws.Spec.Ownership.Owner,
720721
wsk8s.TypeLabel: strings.ToLower(string(ws.Spec.Type)),
721722
instanceIDLabel: ws.Name,

0 commit comments

Comments
 (0)