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

make install with kubebuilder, and the error "Version v3.8.5 does not exist" is reported #4618

Closed
njnuwjq opened this issue May 5, 2022 · 5 comments
Labels
kind/releasing issues related to releasing triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@njnuwjq
Copy link

njnuwjq commented May 5, 2022

Describe the bug

enviroment is ,

c5337840@C02GW0H7Q05N wjq-testOperator % kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.4", GitCommit:"e6c093d87ea4cbb530a7b2ae91e54c0842d8308a", GitTreeState:"clean", BuildDate:"2022-02-16T12:30:48Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"darwin/arm64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.7", GitCommit:"1f86634ff08f37e54e8bfcd86bc90b61c98f84d4", GitTreeState:"clean", BuildDate:"2021-11-17T14:35:38Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.23) and server (1.21) exceeds the supported minor version skew of +/-1

c5337840@C02GW0H7Q05N wjq-testOperator % kustomize version
{Version:kustomize/v4.5.2 GitCommit:9091919699baf1c5a5bf71b32ca73a993e98088b BuildDate:2022-02-09T23:19:28Z GoOs:darwin GoArch:arm64}

follow the instruction of this page,
https://book.kubebuilder.io/quick-start.html

as i run the make install, the following error occurs,
c5337840@C02GW0H7Q05N wjq-testOperator % curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash -s -- 3.8.5 /Users/c5337840/goProj/wjq-testOperator/bin
Version v3.8.5 does not exist.

and i can find it's the same as #3154, and the bug should be fixed in 2020,
c5337840@C02GW0H7Q05N wjq-testOperator % curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash -s -- 4.5.2 /Users/c5337840/goProj/wjq-testOperator/bin
c5337840@C02GW0H7Q05N wjq-testOperator %

tried to replace the version with 4.5.2 , and nothing returned
and change the version number in the Makefile, a new error occured,
c5337840@C02GW0H7Q05N wjq-testOperator % make install
/Users/c5337840/goProj/wjq-testOperator/bin/controller-gen rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash -s -- 4.5.2 /Users/c5337840/goProj/wjq-testOperator/bin
make: *** [/Users/c5337840/goProj/wjq-testOperator/bin/kustomize] Error 56

searched and nothing found, so could any pls look at this issue?

Files that can reproduce the issue

Expected output

Actual output

Kustomize version

Platform

Additional context

@njnuwjq njnuwjq added the kind/bug Categorizes issue or PR as related to a bug. label May 5, 2022
@k8s-ci-robot
Copy link
Contributor

@njnuwjq: This issue is currently awaiting triage.

SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the triage/accepted label.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label May 5, 2022
@KnVerey
Copy link
Contributor

KnVerey commented May 11, 2022

I believe this is happening because you're on darwin/arm64, which we did not produce binaries for in v3: #4612

/kind duplicate
/remove-kind bug

@k8s-ci-robot
Copy link
Contributor

@KnVerey: The label(s) kind/duplicate cannot be applied, because the repository doesn't have them.

In response to this:

I believe this is happening because you're on darwin/arm64, which we did not produce binaries for in v3: #4612

/kind duplicate
/remove-kind bug

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added needs-kind Indicates a PR lacks a `kind/foo` label and requires one. and removed kind/bug Categorizes issue or PR as related to a bug. labels May 11, 2022
@KnVerey KnVerey added triage/duplicate Indicates an issue is a duplicate of other open issue. kind/releasing issues related to releasing and removed needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jun 8, 2022
@KnVerey
Copy link
Contributor

KnVerey commented Jun 8, 2022

Closing as duplicate of #4612
/close

@k8s-ci-robot
Copy link
Contributor

@KnVerey: Closing this issue.

In response to this:

Closing as duplicate of #4612
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/releasing issues related to releasing triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

3 participants