-
Notifications
You must be signed in to change notification settings - Fork 63
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
hack/update-codegen.sh: add -mod=vendor to work with recent Golang #93
hack/update-codegen.sh: add -mod=vendor to work with recent Golang #93
Conversation
/assign @deads2k |
/retest |
schemapatch:manifests="${THIS_REPO_ABSOLUTE}/manifests" \ | ||
paths="${THIS_REPO_ABSOLUTE}/pkg/apis/migration/v1alpha1" \ | ||
output:dir="${THIS_REPO_ABSOLUTE}/manifests" | ||
|
||
go run ./vendor/k8s.io/code-generator/cmd/client-gen \ | ||
curl -s -f -L https://github.com/krishicks/yaml-patch/releases/download/v0.0.10/yaml_patch_$(go env GOHOSTOS) -o _output/yaml-patch |
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.
comment about what this is doing.
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.
done
@@ -0,0 +1,6 @@ | |||
- op: add | |||
path: /spec/versions/name=v1alpha1/schema/openAPIV3Schema/properties/metadata/properties |
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.
what does this do?
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.
readd the metadata.name schema. It looks like it was just manually added to the CRD manifest and controller-tools will override that.
…ty of kubebuilder to express that
f687397
to
a8e94f9
Compare
@sttts: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@@ -120,7 +120,6 @@ type StorageVersionMigrationList struct { | |||
// The state of the storage of a specific resource. | |||
type StorageState struct { | |||
metav1.TypeMeta `json:",inline"` | |||
// The name must be "<.spec.resource.resouce>.<.spec.resource.group>". |
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.
@deads2k this was wrong. You cannot add a custom comment to metadata.
the more you know... /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, sttts 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 |
No description provided.