Skip to content

Knative Eventing release v0.13.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@knative-prow-releaser-robot knative-prow-releaser-robot released this 03 Mar 19:31
· 11 commits to release-0.13 since this release
200ea1a
Artifact Description
eventing.yaml Core knative/eventing resources bundled with the InMemoryChannel and Channel Broker.
channel-broker.yaml The default Broker implementation using Channels.
eventing-core.yaml The core knative/eventing resources: Channel, Subscription, Broker, Trigger, APIServerSource, ContainerSource, CronJobSource, EventType, Sequence, Parallel.
eventing-crds.yaml The core knative/eventing CRDs only.
in-memory-channel.yaml The InMemoryChannel resource.

Eventing

This release introduces v1beta1 versions (and conversion to/from v1alpha1) of these resources: Broker, Trigger, Channel, Subscription, Sequence, Parallel, EventType, InMemoryChannel. Beta versions will be supported according to Knative Release Principles.

Action Required

  • Changes to Broker configuration. With the move to v1beta1, the API changed and the way the Broker is now configured, in order to use default channels, you have to configure the broker using knative-eventing/config-br-defaults configmap. By default it uses InMemoryChannel, but you can configure to use any other Channel by changing the configmap. Examples can be found here:
    https://knative.dev/docs/eventing/channel-based-broker. #2651
  • Removed the deprecated messaging.knative.dev.[sequence,parallel], they've been deprecated and originally slated to be removed in 0.11. Users need to move to flows.knative.dev.[sequence,parallel]. #2419
  • CronJobSource.sources.eventing.knative.dev has been renamed to PingSource.sources.knative.dev. #2422
  • The sources-controller deployment in knative-eventing namespace has been scaled to zero replicas. Please delete it with with: kubectl delete deployment -n knative-eventing sources-controller. #2448 #2620

New Features

  • Make event dispatcher ConnectionArgs configurable via a configmap. #2358
  • Switch to nonroot base image for all containers. #2429
  • Added the PingSource resource, versions v1alpha1 and v1alpha2. #2427 #2607 #2649
  • The sources-controller deployment has been merged with eventing-controller.
  • The Channel Broker copies ConfigMaps into the Broker's namespace instead of creating RBAC to read ConfigMaps in knative-eventing. The ConfigMapPropagation CRD is introduced to do the copying. #2333
  • SinkBinding now propagates the sinkBinding.spec.ceOverrides values as json into an env var called K_CE_OVERRIDES. See the Source ducktype to unmarshal this value. #2481
  • In-memory channels with the eventing.knative.dev/scope: namespace annotation uses the In-memory dispatcher deployed in the same namespace as the channel definition. #2628
  • Support v1beta1 Broker and Trigger. #2414 [#2577][https://github.com//pull/2577]
  • Support v1beta1 Channel and Subscription. #2373 #2595 #2606
  • Support v1beta1 Sequence and Parallel. #2407 #2611
  • Support v1beta1 EventType. #2466 #2602
  • Support v1beta1 InMemoryChannel. #2621
  • Channel based Broker now will reconcile using a ConfigMap as the channelTemplateSpec. #2596
  • Support v1alpha2 SinkBinding. #2619
  • Add new feature to specify OptIn or OptOut selector for SinkBinding webhook via env var SINK_BINDING_SELECTION_MODE. #2634 #2662
  • Create v1beta1 Brokers when a namespace is labeled. #2651
  • Add support for leader election. #2501

Bug Fixes

  • Validate labels created by Trigger on Trigger creation. #2433
  • Trigger metrics do not count events that do not pass their filters. Previously we were counting them with response_code 417, thus all triggers were counting all events. #2557
  • Create source-observer role before a binding referencing it. #2574
  • Make it so Subscription Controller is the only thing responsible for managing subscribers on channels. Special case the channels.messaging, so that we follow the channel to operate on to the backing channel. #2616

Other Changes

  • Make Broker Filter/Ingress pods default PrometheusPort to 9092. #2406
  • Added eventing-crds.yaml artifact to install the Eventing CRDs only. #2453
  • Replace pod name label in broker stats_reporter with random unique name. #2451
  • The namespace field in Destination now defaults to the resource's namespace. #2490.
  • Changed the way namespaces are reconciled to match other resources. This may result in existing Brokers and their service accounts not reconciling properly after this update is applied. #2440
  • Release the Channel-based Broker as a separate artifact from eventing-core.yaml (channel-broker.yaml).
    #2519