Skip to content

Commit 981e8c5

Browse files
authored
remove spec / annotations so broker uses defaults (#2754)
1 parent cf9bccf commit 981e8c5

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

docs/eventing/broker/README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ Triggers register a subscriber's interest in a particular class of events, so th
1919

2020
## Default Broker configuration
2121

22-
Knative Eventing provides a `config-br-defaults` ConfigMap, which lives in the `knative-eventing` namespace, and provides default configuration settings to enable the creation of Brokers and Channels.
22+
Knative Eventing provides a `config-br-defaults` ConfigMap, which lives in the
23+
`knative-eventing` namespace, and provides default configuration settings to
24+
enable the creation of Brokers and Channels by using defaults.
2325
For more information, see the [`config-br-defaults`](./config-br-defaults.md) ConfigMap documentation.
2426

2527
Create a Broker using the default settings:
@@ -29,16 +31,8 @@ kubectl create -f - <<EOF
2931
apiVersion: eventing.knative.dev/v1
3032
kind: Broker
3133
metadata:
32-
annotations:
33-
eventing.knative.dev/broker.class: MTChannelBasedBroker
3434
name: default
3535
namespace: default
36-
spec:
37-
config:
38-
apiVersion: v1
39-
kind: ConfigMap
40-
name: config-br-default-channel
41-
namespace: knative-eventing
4236
EOF
4337
```
4438

0 commit comments

Comments
 (0)