devpod
devpod copied to clipboard
Allow setting of envvars/sensitive data to workspaces
Is your feature request related to a problem? In Gitpod, there is the ability to set environment variables to the control plane. These are then loaded when your workspace starts up, which are very useful for storing credentials and sharing them securely.
Which solution do you suggest?
Something similar to Gitpod. A "user settings" page with the ability to add arbitrary envvars limited by scope (<owner>/<repo> with support for * wildcards in both parts).
For bonus points, it would be useful allowing both envvars and files to be set similar to how GitLab does for CI/CD settings variables. That way, if we wanted to store a kubeconfig file or a GCP service account JSON file, we wouldn't need to convert the envvar into a file via Dotfiles
Which alternative solutions exist? Gitpod supports this
Additional context Slack thread
@mrsimonemms thanks a lot for creating this issue! Yes that is a very good idea, I think this was part of our roadmap item to implement dotfiles as well.
We've never linked back the PRs but DevPod supports the --workspace-env and --workspace-env-file flags