make the placements of the env vars clear

This commit is contained in:
205g0
2021-05-03 05:21:42 +02:00
committed by GitHub
parent 63a9b6b9a5
commit 4765a201a4
@@ -46,6 +46,10 @@ When using this method to install K3s, the following environment variables can b
| `INSTALL_K3S_CHANNEL_URL` | Channel URL for fetching K3s download URL. Defaults to https://update.k3s.io/v1-release/channels. |
| `INSTALL_K3S_CHANNEL` | Channel to use for fetching K3s download URL. Defaults to "stable". Options include: `stable`, `latest`, `testing`. |
An example follows where to place aformentioned environment variables as options (after the pipe!):
```
curl -sfL https://get.k3s.io | INSTALL_K3S_CHANNEL=latest sh -
```
Environment variables which begin with `K3S_` will be preserved for the systemd and openrc services to use.