-
Notifications
You must be signed in to change notification settings - Fork 117
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
Pass eventtype owner to data plane #3284
Pass eventtype owner to data plane #3284
Conversation
…tocreate Signed-off-by: Calum Murray <cmurray@redhat.com>
Codecov Report
@@ Coverage Diff @@
## main #3284 +/- ##
============================================
- Coverage 61.54% 61.50% -0.04%
- Complexity 761 764 +3
============================================
Files 181 181
Lines 12316 12338 +22
Branches 265 267 +2
============================================
+ Hits 7580 7589 +9
- Misses 4140 4144 +4
- Partials 596 605 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/retest-required |
1 similar comment
/retest-required |
/test upgrade-tests |
1 similar comment
/test upgrade-tests |
I think the upgrade test failures might be real failures, I will look into it |
EventTypeOwnerReference: &contract.Reference{ | ||
Uuid: string(broker.UID), | ||
Name: broker.Name, | ||
Namespace: broker.Namespace, | ||
Kind: brokerKind, | ||
Version: brokerAPIVersion, | ||
}, |
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.
Why not including the missing fields in reference
field?
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.
@pierDipi is there a different reference field I could be including them on?
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 Reference
under Resource
eventing-kafka-broker/proto/contract.proto
Lines 333 to 339 in 0242a87
// Resource reference. | |
// | |
// This reference is used to reference the associated resource for data plane | |
// activities such as: | |
// - setting the `source` attribute of a KafkaSource event (when it's not a CloudEvent) | |
// - tagging metrics | |
Reference reference = 11; |
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.
Ah okay I was only looking at the ingress object, my bad! I'll update this PR
…ocreate Signed-off-by: Calum Murray <cmurray@redhat.com>
280b408
to
09f2c23
Compare
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
/lgtm |
/retest-required |
@Leo6Leo I think the test failure is an actual issue, not a flaky failure here. Not sure what is causing the issue though... |
@@ -259,6 +259,8 @@ func ChannelReference() *contract.Reference { | |||
Uuid: ChannelUUID, | |||
Namespace: ChannelNamespace, | |||
Name: ChannelName, | |||
Kind: "KafkaChannel", | |||
Version: messagingv1beta1.SchemeGroupVersion.String(), |
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 think Version
here is meant to be ResourceVersion
as opposed to GroupVersion
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.
Oh okay, I need the group version so I will add a new field for that then. Thanks!
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
/test upgrade-tests |
/retest-required |
1 similar comment
/retest-required |
/test upgrade-tests |
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
/retest |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Cali0707, pierDipi 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 |
/test reconciler-tests |
@Cali0707: The following tests failed, say
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. |
ee8d67d
into
knative-extensions:main
Part of #3181
We need the eventtype Reference/Owner information in the dataplane so that we can auto create event types in #3181.
Proposed Changes