-
Notifications
You must be signed in to change notification settings - Fork 600
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
Meta Channel
doesn't conform the spec's CRD spec.subscribers requirement
#3051
Comments
So, not allowing the setting of subscribers is definitely intentional. Without this it's impossible to have a source of truth that's reliable. If we allow modifications to both channel as well as the backing channel, hilarity will ensue in trying to understand what the actual intent is. Not propagating the status seems like a bug as they should be propagated to the Channel (from the backing channel, one way sync only so there's no problem like we have with two sources of modifiable truth). I'd suggest we tackle the documentation for the Channel either as "non-conformant" Channel or talk about more in the context of a convenience factory method. |
Channel
doesn't conform the spec's CRD spec.status.subscribers requirementChannel
doesn't conform the spec's CRD spec.subscribers requirement
So, for this issue, is it enough to change the spec statement
to
? |
Right, setting the |
@vaikas I think I would lean towards the later ? |
That was my knee jerk reaction as well. |
@aliok: Reopened this issue. 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. |
@aliok As @vaikas mentioned in his comment:
That's why we adjusted the channel to properly reflect the subscribers status in the 'meta' channel. As stated, it is by design that we do not allow setting the subscriber field directly, if we did, we'd end up in a reconciler war between the If you still feel this issue is keeping open, then we'd need to discuss actually amending the spec for the Channel as specifically non-conformant. |
not sure if we need to be that extreme ;-) but how about saying, or "specifying" that the abstract channel is not supporting this, b/c it is handled by the "backing implementation(s)" ? @lberk thoughts? |
That's #3037
Either we keep this open and change the spec and close this OR we close this create a new ticket for spec change |
I'm open to whatever the colour of the bikeshed you'd prefer in terms of phrasing it, but yes, the point being if we'd like to further address the issue (which I assume so because it was reopened), then we need to tackle in the spec |
no need for more issues & extra churn, lets just open a PR and reference this issue |
/close Fixed by #3132 |
@aliok: Closing this issue. 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. |
Describe the bug
As noted in #3050 (comment),
Channel
doesn't doesn't allowsubscribers
in the spec.Spec says this:
When a
channel.messaging.knative.dev
is created, by default Knative creates anInMemoryChannel
. When we create asubscription
against thatChannel
,InMemoryChannel
will have thesubscribers
in the status, but it is not propagated tochannel.messaging.knative.dev
. Other fields likestatus.address
are propagated fine.Expected behavior
I should be able to create a
channel.messaging.knative.dev
withspec.subscribable.subscribers
and #3050 should pass.To Reproduce
ends up in
Knative release version
0.14
Additional context
#3050
The text was updated successfully, but these errors were encountered: