-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
bug in alpha conversion #4716
Comments
The alpha config-3alpha-to-3 command used to convert the PROJECT file is failing because |
Looks like it is the loading of the configuration file. If I ignore the loading error here https://github.com/kubernetes-sigs/kubebuilder/blob/master/pkg/cli/cli.go#L194, I can get the command to work. |
I believe this is a regression in behavior in kubebuilder, since extra commands should not require a (valid) /kind bug |
AH HA! Yes, I noticed |
blocked by kubernetes-sigs/kubebuilder#2125 |
PR created to solve kubebuilder issue: kubernetes-sigs/kubebuilder#2126 |
PR kubernetes-sigs/kubebuilder#2126 merged, we now need another kubebuilder release |
Bug Report
I'm seeing the following error:
operator-sdk alpha config-3alpha-to-3
Error: unable to load the configuration: unable to create config for version "3-alpha": version 3-alpha is not supported
Usage:
operator-sdk [flags]
Examples:
The first step is to initialize your project:
operator-sdk init [--plugins= [--project-version=]]
What did you do?
Here is the PROJECT file it is reading:
What did you expect to see?
I expected it to convert the PROJECT to the newest/latest format.
What did you see instead? Under which circumstances?
operator-sdk alpha config-3alpha-to-3
Error: unable to load the configuration: unable to create config for version "3-alpha": version 3-alpha is not supported
Usage:
operator-sdk [flags]
Examples:
The first step is to initialize your project:
operator-sdk init [--plugins= [--project-version=]]
Environment
Operator type:
/language go
Kubernetes cluster type:
snoot:[~/sample-operator] kubectl version
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:59:43Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:51:19Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
$ operator-sdk version
snoot:[~] operator-sdk version
operator-sdk version: "scorecard-kuttl/v2.0.0-43-g6b6c0214", commit: "6b6c021400894281b0d35033e83b5671e4c5f1ac", kubernetes version: "v1.19.4", go version: "go1.15.5", GOOS: "linux", GOARCH: "amd64"
$ go version
(if language is Go)snoot:[~] go version
go version go1.15.5 linux/amd64
$ kubectl version
Possible Solution
none
Additional context
none
The text was updated successfully, but these errors were encountered: