Describe the bug
As noted in #3016 (comment), Channel doesn't have subscribers in the status.
That PR is about adding conformance tests for channels around having subscribers array in the status.
Spec says this:
- v1alpha1
Each subscription to a channel is added to the channel
status.subscribableStatus.subscribers automatically. The ready field of the
subscriber identified by its uid MUST be set to True when the subscription
is ready to be processed.
- v1beta1
Each subscription to a channel is added to the channel status.subscribers
automatically. The ready field of the subscriber identified by its uid MUST
be set to True when the subscription is ready to be processed.
When a channel.messaging.knative.dev is created, by default Knative creates an InMemoryChannel. When we create a subscription against that Channel, InMemoryChannel will have the subscribers in the status, but it is not propagated to channel.messaging.knative.dev. Other fields like status.address are propagated fine.
Expected behavior
channel.messaging.knative.dev should have status.subscribers and #3016 should pass.
To Reproduce
- Create a
channel.messaging.knative.dev
- Create a
subscription
- No
status.subscribers nor status.subscribableStatus.subscribers is there.
See #3016
Knative release version
0.14
Additional context
#3016
Describe the bug
As noted in #3016 (comment),
Channeldoesn't havesubscribersin thestatus.That PR is about adding conformance tests for channels around having
subscribersarray in thestatus.Spec says this:
When a
channel.messaging.knative.devis created, by default Knative creates anInMemoryChannel. When we create asubscriptionagainst thatChannel,InMemoryChannelwill have thesubscribersin the status, but it is not propagated tochannel.messaging.knative.dev. Other fields likestatus.addressare propagated fine.Expected behavior
channel.messaging.knative.devshould havestatus.subscribersand #3016 should pass.To Reproduce
channel.messaging.knative.devsubscriptionstatus.subscribersnorstatus.subscribableStatus.subscribersis there.See #3016
Knative release version
0.14
Additional context
#3016