Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kivagant-ba opened this issue Dec 3, 2020 · 2 comments
Open

Comments

@kivagant-ba
Copy link

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

@kivagant-ba
Copy link
Author

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
Copy link

stale bot commented May 21, 2021

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.

@stale stale bot added the wontfix label May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants