-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Makes fixes for v35 changes #8895
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
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gnufied The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
06bcec8 to
2c10d2e
Compare
| REPO_ROOT="$(git rev-parse --show-toplevel)" | ||
| CODEGEN_PKG=$($GO_CMD list -m -mod=readonly -f "{{.Dir}}" k8s.io/code-generator) | ||
| cd "${CURRENT_DIR}/.." | ||
| cd "${CURRENT_DIR}/../apis" |
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.
Without this change ./hack/update-codegen.sh fails with:
F1205 11:51:07.357544 1794877 main.go:68] Error: failed making a parser: error(s) in "k8s.io/autoscaler/cluster-autoscaler/apis/provisioningrequest/autoscaling.x-k8s.io/v1":
-: main module (k8s.io/autoscaler/cluster-autoscaler) does not contain package k8s.io/autoscaler/cluster-autoscaler/apis/provisioningrequest/autoscaling.x-k8s.io/v1
error(s) in "k8s.io/autoscaler/cluster-autoscaler/apis/provisioningrequest/autoscaling.x-k8s.io/v1beta1":
-: main module (k8s.io/autoscaler/cluster-autoscaler) does not contain package k8s.io/autoscaler/cluster-autoscaler/apis/provisioningrequest/autoscaling.x-k8s.io/v1beta1
Looks like we may not have ran this script in awhile..
Builds upon #8827
And makes additional fixes for fixing unit tests. The fixes just required regenerating the clientset and fakeclients for CRDs we have in autoscaler.