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
Add network CRDs to cloud-provider-gcp #375
Conversation
Hi @sdmodi. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
These CRDs will be used by the nodeipam controller for clusters that support multiple networks
/test cloud-provider-gcp-verify-all |
/test cloud-provider-gcp-verify-all |
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.
The changes look reasonable as to introduce a new set of CRDs to the /crd folder and should have no impact on the existing components. Will leave it to the actual owners of the CRDs and generation script for LGTM.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MrHohn, sdmodi 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 |
/lgtm for the update-codegen.sh |
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.
I'm assuming everything in apis/network is already in use and cannot be changed at this point, so no use in reviewing.
crd/hack/update-codegen.sh
Outdated
echo "Generating deepcopy functions and CRD artifacts" | ||
go run sigs.k8s.io/controller-tools/cmd/controller-gen \ | ||
object:headerFile=${SCRIPT_ROOT}/hack/boilerplate.go.txt \ | ||
crd:crdVersions=v1 \ |
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.
crd:crdVersions=v1 \ | |
crd:crdVersions=$version \ |
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
crd/hack/update-codegen.sh
Outdated
crd:crdVersions=v1 \ | ||
paths=${apis_pkg}/... \ | ||
output:crd:artifacts:config=${SCRIPT_ROOT}/config/crds | ||
generate_config crd_name version |
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.
The crd_name and version vars also don't seem to have values defined.
generate_config crd_name version | |
generate_config $crd_name $version |
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
/assign |
Looks like we have gotten review froms the authors. |
These CRDs will be used by the nodeipam controller for clusters that support multiple networks