kubernetes-sigs / kustomize

Customization of kubernetes YAML configurations
Apache License 2.0
11.09k stars 2.26k forks source link

install_kustomize.sh returns `Version vX.X.X does not exist` for non module versions. #4130

Open nasir-rabbani opened 3 years ago

nasir-rabbani commented 3 years ago

Describe the bug

I am trying to download v2.0.3 of kustomize using the script here. But the script seems to be only working for the version of kustomize which were released after moving it into its own module. Hence, we are not able to download the older versions.

Files that can reproduce the issue

Issue can be reproduced by running:

$ sh install_kustomize.sh 2.0.3

Expected output

Should install the specified version of kustomize in the PWD

Actual output

Version v2.0.3 does not exist

Platform

macOS Catalina

KnVerey commented 3 years ago

/triage accepted

yingding commented 3 years ago

I got the same issue with

 bash install_kustomize.sh 3.2.0

on an Ubuntu 20.04 LTS. Do need the specific version to compile KubeFlow v1.4

k8s-triage-robot commented 2 years ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 2 years ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

KnVerey commented 2 years ago

/remove-lifecycle rotten /help

This is still valid, and the closed PR shows the fix we would accept if someone can pick it up.

k8s-ci-robot commented 2 years ago

@KnVerey: This request has been marked as needing help from a contributor.

Guidelines

Please ensure that the issue body includes answers to the following questions:

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to [this](https://github.com/kubernetes-sigs/kustomize/issues/4130): >/remove-lifecycle rotten >/help > >This is still valid, and [the closed PR](https://github.com/kubernetes-sigs/kustomize/pull/4131) shows the fix we would accept if someone can pick it up. Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
k8s-triage-robot commented 2 years ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 2 years ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot commented 2 years ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 2 years ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

stormqueen1990 commented 1 year ago

Is this something that still needs to be done? If so, I'd be willing to give it a try.

yingding commented 1 year ago

I am all good. I moved to downloading Kustomize 5.0.1 binary manually long time ago. Maybe OP can close this issue, if it is stale.

k8s-triage-robot commented 6 months ago

This issue has not been updated in over 1 year, and should be re-triaged.

You can:

For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/

/remove-triage accepted