Creating a channel using cluster or namespace defaults
Create a Channel object:
After the Channel object is created, a mutating admission webhook sets the
spec.channelTemplate
based on the default channel implementation:apiVersion: messaging.knative.dev/v1
name: my-channel
namespace: default
apiVersion: messaging.knative.dev/v1
kind: InMemoryChannel
NOTE: Defaults only apply on object creation. Defaults are applied by the webhook only on Channel or Sequence creation. If the default settings change, the new defaults will only apply to newly-created channels, brokers, or sequences. Existing ones will not change.