-
Notifications
You must be signed in to change notification settings - Fork 594
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
Stage the place for openapi sports for new versions of the IMC #2588
Conversation
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matzew 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 |
replyURI: | ||
type: string | ||
minLength: 1 | ||
deliveryURI: |
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.
so... deliveryURI
seems not used ...
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.
yes it's called delivery
now
/cc @dprotaso |
/test pull-knative-eventing-integration-tests |
/retest |
1 similar comment
/retest |
if you install this, does the CRD report back a happy status? |
marking as WIP, since I noticed a glitch here ... |
@lionelvillard I did a change on the I think... according to this we are structural and getting the yaml is giving me:
|
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.
Couple of nits for the validation
type: string | ||
description: "Used to understand the origin of the subscriber." | ||
minLength: 1 | ||
subscriberURI: |
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.
Both this and the one below should use the format uri
or uri-ref
- name | ||
- uid | ||
properties: | ||
apiVersion: |
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 apiVersion
subschema should be a const schema, but since OpenAPI 3.0 doesn't contain it, maybe you should add the property enum: ["v1alpha1"]
properties: | ||
apiVersion: | ||
type: string | ||
kind: |
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.
Same as above
Given the issues that actually come up with the conversion and the validation once the conversion webhook comes into play, I'm not sure that staging these adds much value. I'm fine with this, but as witnessed by various issues in the (status needs to be filled in, etc.): |
minLength: 1 | ||
delivery: | ||
description: "Channel delivery options. More information: https://knative.dev/docs/eventing/event-delivery." | ||
type: object |
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.
you need status here, see #2577
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.
@vaikas I will follow up - just seeing this
@vaikas I will give the conversion a shot |
As discussed offline: |
/close |
@matzew: Closed this PR. In response to this:
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. |
Proposed Changes
like #2554 did for "core" APIs