Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Seems like code generation wasn't working for a while, as the dependency for
hack/update-codegen.sh
wasn't vendored. This script wasn't executed in a while, although there were changes in the API recently. This commit does a few things, separated into individual commits:hack/tools.go
to pull ink8s.io/code-generator
and have it correctly versioned ingo.mod
generate-groups.sh
fromall
toclient,deepcopy,informer,lister
. This excludesapplyconfiguration
, which we currently don't generate, but would be included inall
hack/update-codegen.sh
to generate the deepcopy files and client-related files with the most recent API changeskube-codegen.sh
, asgenerate-groups.sh
was showing a deprecation warninghack/update-codegen.sh
again, to see that there are no notable diffs after switching the generation script – the only changes seem to be concerned with the order of certain functions/variablesSpecial notes for your reviewer:
hack/verify-codegen.sh
a presubmit check?Does this PR introduce a user-facing change?