-
Notifications
You must be signed in to change notification settings - Fork 682
generate clientset with 1.35 code-generator #4347
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: KunWuLuan <[email protected]>
ray-operator/hack/update-codegen.sh
Outdated
| SCRIPT_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. | ||
| ROOT_PKG=github.com/ray-project/kuberay/ray-operator | ||
| CODEGEN_PKG=$(go list -m -f "{{.Dir}}" k8s.io/code-generator) | ||
| CODEGEN_PKG=${CODEGEN_PKG:-$(cd "${SCRIPT_ROOT}"; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo ../code-generator)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you explain the reason for this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go vendor is enabled in my environment, and $(go list -m -f "{{.Dir}}" k8s.io/code-generator) return "" when go vendor is enabled. I have rollbacked this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh cool, I think we can create an issue for go vendor users.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are all of the files fully generated?
It seems that the CRD yamls are not updated. I have updated. |
6636ce6 to
7f8fad7
Compare
…esolution Signed-off-by: KunWuLuan <[email protected]>
7f8fad7 to
f201498
Compare
|
@win5923 Hi, I think the comments are all solved. Thanks for your comments. Can you review the code again? |
|
cc @Future-Outlier and @rueian for the final review! |
Why are these changes needed?
Related issue number
to #4345
Checks