Skip to content
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

WIP: Generate CRD definitions #3487

Closed
wants to merge 6 commits into from

Conversation

jonjohnsonjr
Copy link
Contributor

Fixes #912

Proposed Changes

Use controller-tools crd generate tool to generate our CRD definitions.

@knative-prow-robot knative-prow-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 21, 2019
@knative-prow-robot knative-prow-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Mar 21, 2019
Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jonjohnsonjr: 0 warnings.

In response to this:

Fixes #912

Proposed Changes

Use controller-tools crd generate tool to generate our CRD definitions.

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.

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jonjohnsonjr
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: mattmoor

If they are not already assigned, you can assign the PR to them by writing /assign @mattmoor in a comment when ready.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added area/API API objects and controllers area/autoscale area/networking area/test-and-release It flags unit/e2e/conformance/perf test issues for product features labels Mar 21, 2019
@jonjohnsonjr
Copy link
Contributor Author

jonjohnsonjr commented Mar 21, 2019

shortNames doesn't seem to work as expected 😢

Edit: fixed by constraining the tool to a newer version.

@jonjohnsonjr
Copy link
Contributor Author

@mattmoor one change here that might trip people up is now needing to do:

$ ko apply -f config/crds/ -f config/

To pick up the CRDs.

@vagababov
Copy link
Contributor

@mattmoor one change here that might trip people up is now needing to do:

$ ko apply -f config/crds/ -f config/

To pick up the CRDs.

Update this: https://github.com/knative/serving/blob/master/DEVELOPMENT.md

@jonjohnsonjr
Copy link
Contributor Author

Filed kubernetes-sigs/controller-tools#173 re: versioning.

@jonjohnsonjr
Copy link
Contributor Author

/retest

@jonjohnsonjr
Copy link
Contributor Author

This might be blocked on kubernetes-sigs/kubebuilder#406

We need this for pkg/apis.VolatileTime (at least).

@knative-prow-robot
Copy link
Contributor

@jonjohnsonjr: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pull-knative-serving-integration-tests ed4b45b link /test pull-knative-serving-integration-tests
pull-knative-serving-upgrade-tests ed4b45b link /test pull-knative-serving-upgrade-tests

Full PR test history. Your PR dashboard.

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.

@maximilien
Copy link

This might be blocked on kubernetes-sigs/kubebuilder#406

We need this for pkg/apis.VolatileTime (at least).

Hi, @jonjohnsonjr, any update on this? Curious as we are also interested in solving #912

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/API API objects and controllers area/autoscale area/networking area/test-and-release It flags unit/e2e/conformance/perf test issues for product features do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorporate schema into CRDs
4 participants