This is a proof of concept that installs k3s and Gitpod on 2 VMs (Digtial Ocean Droplets).
Just run ./digitalocean-droplet/setup.sh
to setup and ./digitalocean-droplet/teardown.sh
to teardown.
The following environement variables are needed:
Environment Variable | Explanation |
---|---|
DIGITALOCEAN_ACCESS_TOKEN |
Access token for Digital Ocean |
DIGITALOCEAN_SSH_KEY |
Base64 encoded SSH key (content of .ssh/id_rsa ) |
DIGITALOCEAN_SSH_PUBKEY |
Base64 encoded SSH pub key (content of .ssh/id_rsa.pub ) |
DIGITALOCEAN_SSH_KEY_FINGERPRINT |
Fingerprint of SSH key in Digital Ocean |
GITPOD_GITHUB_CLIENT_SECRET |
GitHub Client Secret of the Gitpod app |
You also need a Digital Ocean account with a configured domain (here ludmann.name
) and SSH key.
- Change
version
ingitpod-install/values.yaml
. - Change
GITPOD_COMMIT_ID
indigitalociean-droplet/setup.sh