Merge pull request #3235 from 205g0/patch-1

Make the placements of the env vars clear
This commit is contained in:
Catherine Luse
2021-07-19 08:28:32 -07:00
committed by GitHub
@@ -46,6 +46,11 @@ 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`. |
This example shows 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.