-
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
New changes in kubebuilder causing issue in SDK testcases #6046
Comments
As part of this issue, we need to modify test cases and docs from |
|
KB issue - kubernetes-sigs/kubebuilder#2782 |
Based on the error in comment 3 above that looks like the |
@laxmikantbpandhare I think what I would try first is using a branch of operator-sdk that contains the updated kubebuilder in it. Do the following:
Might be worth adding some debug to the |
Yes, I tried the above command and got the same error on the terminal.
Then, I tried the below command and it scaffolded the file but with one more error which we discussed earlier.
The new error is:
|
@jmrodri - I found the bug on Kubebuilder which was missed as part of the Issue - kubernetes-sigs/kubebuilder#3009 |
@laxmikantbpandhare okay, that makes sense. I think we need to get that merged into kubebuilder and do a point release of kubebuilder. Then bring that into SDK. |
Yes, a minor release is needed. Does the recent KB git commit work with SDK or minor release is required for sure? |
This is fixed as part of #6047 |
Feature Request
Describe the problem you need a feature to resolve.
kubebuilder scaffolding logic got changed
Describe the solution you'd like.
go lang
Before kb changes
After
``config/manager/controller_manager_config.yaml
will be scaffolded only after
--component-config` flag is enabled.The Kubebuilder issue is here - kubernetes-sigs/kubebuilder#2782
PR for the same: kubernetes-sigs/kubebuilder#2826
The text was updated successfully, but these errors were encountered: