sequence and parallel conversion webhook#2611
Conversation
b362108 to
15d5bcc
Compare
|
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
15d5bcc to
8c7102c
Compare
8c7102c to
2c33f9f
Compare
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
/assign @vaikas |
vaikas
left a comment
There was a problem hiding this comment.
Thanks!! Just a thought about removing the schema section which has been giving us some trouble :( Also if you wouldn't mind v1beta1->v1alpha1->v1beta1 tests that would be awesome :)
| type: string | ||
| minLength: 1 | ||
| name: | ||
| type: string |
There was a problem hiding this comment.
You'll probabaly beed the namespace here as well, or it won't necessarily roundtrip properly. We've had quite a few of these failures because things have drifted over time. Since you need to rebase anyways, maybe just get rid of the schemas. Look for example at inmemorychannel.yaml to see what it looks like without these. You need to add an overall validation section. Plan is to then autogenerate these and merge them rather than code them by hand.
There was a problem hiding this comment.
ok done.
Still having an issue with the AdmissionController that cannot decode the new object. This happens just before defaulting. Not sure why yet
| }, | ||
| }, | ||
| }, { | ||
| name: "full configuration", |
There was a problem hiding this comment.
We started to also do tests where we start with v1beta1 -> v1alpha1 ->v1beta1, would you mind adding those tests as well? you can see for example pkg/apis/messaging/v1alpha1/channel_conversion_test.go.
| // for the namespace (or cluster, in case there are no defaults for the namespace). | ||
| // +optional | ||
| ChannelTemplate *eventingduckv1alpha1.ChannelTemplateSpec `json:"channelTemplate,omitempty"` | ||
| ChannelTemplate *messagingv1beta1.ChannelTemplateSpec `json:"channelTemplate,omitempty"` |
831374a to
fac97d5
Compare
|
/hold adding v1beta1->v1alpha1->v1beta1 tests |
|
The following is the coverage report on the affected files.
|
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lionelvillard, vaikas The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold cancel |
Proposed Changes
Release Note