Skip to content

Commit 2325423

Browse files
authored
Merge pull request #3264 from embik/no-scope-in-vw
🐛 Remove scope from initializingworkspaces virtual workspace
2 parents 66d548f + 8601bb4 commit 2325423

File tree

1 file changed

+0
-2
lines changed
  • pkg/virtual/initializingworkspaces/builder

1 file changed

+0
-2
lines changed

pkg/virtual/initializingworkspaces/builder/build.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,6 @@ func BuildVirtualWorkspace(
252252
for k, v := range info.Extra {
253253
extra[k] = v
254254
}
255-
// Scope the user to the cluster they are accessing.
256-
extra["authentication.kcp.io/scopes"] = []string{fmt.Sprintf("cluster:%s", cluster)}
257255

258256
thisCfg := rest.CopyConfig(cfg)
259257
thisCfg.Impersonate = rest.ImpersonationConfig{

0 commit comments

Comments
 (0)