-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[ws-manager-mk2] Protect tokens #16763
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
Conversation
started the job as gitpod-build-fo-protected-tokens-3.3 because the annotations in the pull request description changed |
started the job as gitpod-build-fo-protected-tokens-3.5 because the annotations in the pull request description changed |
started the job as gitpod-build-fo-protected-tokens-3.7 because the annotations in the pull request description changed |
started the job as gitpod-build-fo-protected-tokens-3.8 because the annotations in the pull request description changed |
67cc554
to
dcb21e0
Compare
207271c
to
ae62756
Compare
ae62756
to
8389e32
Compare
Closed in favor of #16806 |
Description
Store sensitive workspace data (tokens) in short lived Kubernetes secrets. When a workspace start is requested we create a secret (named workspaceid-tokens) that contains the tokens extracted from the content initializer. The tokens will be removed from the content initializer.
The secret itself will live in a separate namespace so that we can narrow down the scope of permissions we need to give to ws-daemon so that it can access the secrets. When the content init happens in ws-daemon the secrets will be injected into the initializer again and the secret will be deleted once the workspace reaches the
running
phase but latest when it reaches thestopped
phase.Related Issue(s)
n.a.
How to test
Release Notes
Build Options:
Run the build with werft instead of GHA
leeway-target=components:all
Run Leeway with
--dont-test
Publish Options
Installer Options
Add desired feature flags to the end of the line above, space separated
Preview Environment Options:
If enabled this will build
install/preview
If enabled this will create the environment on GCE infra
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh