loft-sh / devpod-provider-gcloud

DevPod on Google Cloud
Mozilla Public License 2.0
4 stars 4 forks source link

Add support for specifying service accounts #9

Closed mksh closed 8 months ago

mksh commented 9 months ago

Adds a new option SERVICE_ACCOUNT, which will attach service account with an email specified in an option, and Oauth scope https://www.googleapis.com/auth/cloud-platform into GCP instance for Devpod.

If option is not passed, previous behavior (no service accounts) is preserved.

mksh commented 8 months ago

Updated PR according to suggestions