-
Notifications
You must be signed in to change notification settings - Fork 75
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
🐛 run make update
fail because deepcopy doesn't support generic …
#288
🐛 run make update
fail because deepcopy doesn't support generic …
#288
Conversation
…type. Signed-off-by: xuezhaojun <[email protected]>
/assign @qiujian16 |
After this PR merged, we should add |
Thanks @xuezhaojun , I'm able to reproduce the error as well. It should be enough to set the |
Hi, @serngawy , unfortunately, adding
You can see from the above log, |
hrm, I thought make verify already cover the process of make update... |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiujian16, xuezhaojun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR is not the final solution, I will follow up to watch the progress of code-gen libs's generic type supporting, and we will solve this before upgrade these generic types to v1beta1. |
/assign @haoqing0110 |
/lgtm |
ae208c8
into
open-cluster-management-io:main
…generic type. (open-cluster-management-io#288)" This reverts commit ae208c8.
…generic type. (open-cluster-management-io#288)" This reverts commit ae208c8. Signed-off-by: Dale Haiducek <[email protected]>
@xuezhaojun I noticed this PR merged, but I opened a PR off of my branch in case there was interest in going the |
+1 for using |
@serngawy @dhaiducek Thanks for submitting the fix! vote to this alternative, great work! |
…#291) * Revert "Fix: run `make update` fail because deepcopy doesn't support generic type. (#288)" This reverts commit ae208c8. Signed-off-by: Dale Haiducek <[email protected]> * Use `controller-gen` for deepcopy cluster:v1alpha1 GenGo isn't respecting the `+k8s:deepcopy-gen=false` tag to skip generation for the generic type Signed-off-by: Dale Haiducek <[email protected]> --------- Signed-off-by: Dale Haiducek <[email protected]>
…type. (open-cluster-management-io#288) Signed-off-by: xuezhaojun <[email protected]>
…open-cluster-management-io#291) * Revert "Fix: run `make update` fail because deepcopy doesn't support generic type. (open-cluster-management-io#288)" This reverts commit ae208c8. Signed-off-by: Dale Haiducek <[email protected]> * Use `controller-gen` for deepcopy cluster:v1alpha1 GenGo isn't respecting the `+k8s:deepcopy-gen=false` tag to skip generation for the generic type Signed-off-by: Dale Haiducek <[email protected]> --------- Signed-off-by: Dale Haiducek <[email protected]>
…type. (open-cluster-management-io#288) Signed-off-by: xuezhaojun <[email protected]>
…open-cluster-management-io#291) * Revert "Fix: run `make update` fail because deepcopy doesn't support generic type. (open-cluster-management-io#288)" This reverts commit ae208c8. Signed-off-by: Dale Haiducek <[email protected]> * Use `controller-gen` for deepcopy cluster:v1alpha1 GenGo isn't respecting the `+k8s:deepcopy-gen=false` tag to skip generation for the generic type Signed-off-by: Dale Haiducek <[email protected]> --------- Signed-off-by: Dale Haiducek <[email protected]>
Signed-off-by: melserngawy <[email protected]> Fix: run `make update` fail because deepcopy doesn't support generic type. (open-cluster-management-io#288) Signed-off-by: xuezhaojun <[email protected]> Fix verify ci step missing. (open-cluster-management-io#289) Signed-off-by: xuezhaojun <[email protected]> :bug: Use controller-runtime for deepcopy generation for cluster:v1alpha1 (open-cluster-management-io#291) * Revert "Fix: run `make update` fail because deepcopy doesn't support generic type. (open-cluster-management-io#288)" This reverts commit ae208c8. Signed-off-by: Dale Haiducek <[email protected]> * Use `controller-gen` for deepcopy cluster:v1alpha1 GenGo isn't respecting the `+k8s:deepcopy-gen=false` tag to skip generation for the generic type Signed-off-by: Dale Haiducek <[email protected]> --------- Signed-off-by: Dale Haiducek <[email protected]> 🐛 add ca bundle to addon proxy settings (open-cluster-management-io#293) Signed-off-by: Yang Le <[email protected]> Revert "remove ClusterSet ClusterSetBinding API version v1beta1 (open-cluster-management-io#266)" This reverts commit 9675ab7. Signed-off-by: haoqing0110 <[email protected]>
Fix: run `make update` fail because deepcopy doesn't support generic type. (#288) Fix verify ci step missing. (#289) :bug: Use controller-runtime for deepcopy generation for cluster:v1alpha1 (#291) * Revert "Fix: run `make update` fail because deepcopy doesn't support generic type. (#288)" This reverts commit ae208c8. * Use `controller-gen` for deepcopy cluster:v1alpha1 GenGo isn't respecting the `+k8s:deepcopy-gen=false` tag to skip generation for the generic type --------- 🐛 add ca bundle to addon proxy settings (#293) Revert "remove ClusterSet ClusterSetBinding API version v1beta1 (#266)" This reverts commit 9675ab7. Signed-off-by: haoqing0110 <[email protected]> Co-authored-by: Mohamed ElSerngawy <[email protected]>
…type.
Summary
Run
make update
fail because ofdeepcopy-gen
doesn't support generic type yet. kubernetes/gengo#225It will log errors:
The generic type was introduced by this PR: #276
In this PR, we change the strategy from 'opt-out'(via
deepcopy-gen=false
comment) to 'opt-in'(viadeepcopy-gen=true
comment)Related issue(s)
Fixes #