Describe the bug
As part of knative/specs#30 to simplify the user experience of Subscriptions, the spec was changed from requiring one of spec.subscriber or spec.reply to be set to requiring that spec.subscriber is set.
Expected behavior
An admission validation error if a Subscription is created without a subscriber.
To Reproduce
Create a Subscription like so:
apiVersion: messaging.knative.dev/v1
kind: Subscription
metadata:
name: i-am-a-bad-bad-subscription
spec:
channel:
kind: Channel
apiVersion: messaging.knative.dev/v1
name: dont-care
reply:
uri: http://dev/null
Knative release version
0.26
Additional context
Should probably get this in for 1.0
Describe the bug
As part of knative/specs#30 to simplify the user experience of Subscriptions, the spec was changed from requiring one of
spec.subscriberorspec.replyto be set to requiring thatspec.subscriberis set.Expected behavior
An admission validation error if a Subscription is created without a subscriber.
To Reproduce
Create a Subscription like so:
Knative release version
0.26
Additional context
Should probably get this in for 1.0