linkerd / linkerd2

Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.
https://linkerd.io
Apache License 2.0
10.65k stars 1.28k forks source link

Cannot install old versions of Linkerd (-amd64 suffix is missed) #5319

Open kivagant-ba opened 3 years ago

kivagant-ba commented 3 years ago

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  Downloading linkerd2-cli-edge-20.1.2-linux-amd64...
11:06:30    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
11:06:30                                   Dload  Upload   Total   Spent    Left  Speed
11:06:30  
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
11:06:30  curl: (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

kivagant-ba commented 3 years ago

Workaround:

ENV LINKERD2_VERSION=stable-2.7.1
RUN curl -L https://github.com/linkerd/linkerd2/releases/download/${LINKERD2_VERSION}/linkerd2-cli-${LINKERD2_VERSION}-linux --output /usr/local/bin/linkerd \
  && chmod +x /usr/local/bin/linkerd
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.