Cannot install old versions of Linkerd (-amd64 suffix is missed)
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 11.5k
- Forks
- 1.4k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 53
Description
## Bug Report
### What is the issue?
Installation script was changed in a way it is impossible to install old versions.
### How can it be reproduced?
```
ENV LINKERD2_VERSION=stable-2.7.1
RUN curl -sL "https://run.linkerd.io/install" | sh
```
### Logs, error output, etc
```
11:06:30 [0mDownloading linkerd2-cli-edge-20.1.2-linux-amd64...
11:06:30 [91m % Total % Received % Xferd Average Speed Time Time Time Current
11:06:30 Dload Upload Total Spent Left Speed[0m[91m
11:06:30
0 0 0 0 0 0 0 0 --:--:-- --:--:--[0m[91m --:--:-- 0[0m[91m
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
11:06:30 [0m[91mcurl: (22) The requested URL returned error: 404 Not Found
```
#### `linkerd check` output
### Environment
Docker
### Possible solution
There should be a flag to support old versions, but I don't see any in the install script.
### Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the install script served at https://run.linkerd.io/install and trace how LINKERD2_VERSION is converted into the downloaded CLI filename. Reproduce the stable-2.7.1 command and compare its requested linux-amd64 artifact with the available old-version artifact. Done means the command installs the requested old version successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100