Skip to content

Commit c8aaee9

Browse files
Liz Baldoclaude
authored andcommitted
fix(access-controller): forward workspace name to Galaxy VM for Terra file source label
Terra passes WORKSPACE_NAME in customEnvironmentVariables (already used for disk restore validation). Forward it to the VM as terra-workspace-name metadata and pass to ansible-pull as terra_workspace_name so galaxy-k8s-boot can populate the workspace: field in the anvil file source config. Without this the field is empty, causing Galaxy to show "Unlabeled Rfs File Source" and fail to list workspace files. galaxy-k8s-boot also needs a matching change to use terra_workspace_name for the workspace: field. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 042aca3 commit c8aaee9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

http/src/main/scala/org/broadinstitute/dsde/workbench/leonardo/util/GKEInterpreter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ class GKEInterpreter[F[_]](
11871187
Items
11881188
.newBuilder()
11891189
.setKey("terra-workspace")
1190-
.setValue(app.workspaceId.map(_.value.toString).getOrElse(""))
1190+
.setValue(app.customEnvironmentVariables.getOrElse(WORKSPACE_NAME_KEY, ""))
11911191
.build()
11921192
)
11931193
.addItems(Items.newBuilder().setKey("terra-namespace").setValue(googleProject.value).build())

0 commit comments

Comments
 (0)