Skip to content

Expose a new variable JETBRAINS_GITPOD_WORKSPACE_HOST on Supervisor Info endpoint #9814

Closed
@felladrin

Description

@felladrin

We are going to change host for ssh, so let's go with JETBRAINS_GITPOD_WORKSPACE_HOST to control it.

You can get host from

string workspace_url = 12;

You can access info here

contentStatus, wsInfo, err := resolveWorkspaceInfo(context.Background())

And set as an env var here:

cmd.Env = append(cmd.Env, "CWM_HOST_STATUS_OVER_HTTP_TOKEN=gitpod")

Originally posted by @akosyakov in #9733 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions