Skip to content

Commit

Permalink
wip: core config
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Mar 3, 2024
1 parent f5d33ff commit 64cb816
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 3 deletions.
14 changes: 14 additions & 0 deletions example/config-br-defaults.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: config-br-defaults
namespace: knative-eventing
data:
default-br-config: |
# This is the cluster-wide default broker channel.
clusterDefault:
brokerClass: MTChannelBasedBroker
apiVersion: v1
kind: ConfigMap
name: imc-channel
namespace: knative-eventing
13 changes: 13 additions & 0 deletions example/config-broker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: eventing.knative.dev/v1
kind: Broker
metadata:
annotations:
eventing.knative.dev/broker.class: MTChannelBasedBroker
name: imc-broker
namespace: default
spec:
config:
apiVersion: v1
kind: ConfigMap
name: imc-channel
namespace: knative-eventing
9 changes: 9 additions & 0 deletions example/config-imc-channel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: imc-channel
namespace: knative-eventing
data:
channel-template-spec: |
apiVersion: messaging.knative.dev/v1
kind: InMemoryChannel
6 changes: 3 additions & 3 deletions example/webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ spec:

sink:
ref:
apiVersion: eventing.typhoon.zeiss.com/v1alpha1
kind: RedisBroker
name: typhoon
apiVersion: eventing.knative.dev/v1
kind: Broker
name: imc-broker:

0 comments on commit 64cb816

Please sign in to comment.