Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Register non-Coder-created pods as/registered as Coder Workspaces #17637

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Jphalan opened this issue May 1, 2025 · 0 comments
Open

Register non-Coder-created pods as/registered as Coder Workspaces #17637

Jphalan opened this issue May 1, 2025 · 0 comments

Comments

@Jphalan
Copy link

Jphalan commented May 1, 2025

Full details: running coder-agents on unsecure workspaces, where coder will not be on the workspace creation path, but we will like to register running pods as coder workspaces.

Impact: Ideally, I can provision a service account api token and only grant access to read a very specific field (in this case, the coder_parameter), so in the workspace which is NOT logged in as users, we can always register directly without needing coordination on the client/cli side. For context, we don't want to log in as users in the workspaces because these are unsecure pods.

Notes:"Ideally, there are ways that I can just give the workspace the following to register the pod in the associated workspace:
Shared API token (access is only scoped to get coder_agent_token for a specific template)
username
workspace
This is already enabled but coder-agent sometimes disconnects and we have to fall back to not having Coder integration while people use other tools to connect. "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant