update config elements for eventing channel and pingsource (#4453)

This commit is contained in:
Pablo Mercado 2021-12-17 12:50:18 +01:00 committed by GitHub
parent bf4c65d976
commit 82f917420a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ To use Kafka Channels, you must:
name: kafka-channel name: kafka-channel
namespace: knative-eventing namespace: knative-eventing
data: data:
channelTemplateSpec: | channel-template-spec: |
apiVersion: messaging.knative.dev/v1beta1 apiVersion: messaging.knative.dev/v1beta1
kind: KafkaChannel kind: KafkaChannel
spec: spec:

View File

@ -10,7 +10,7 @@ For the available parameters, see [PingSource reference](../../eventing/sources/
In addition to the parameters that you can configure in the PingSource resource, there is a global ConfigMap called `config-ping-defaults`. In addition to the parameters that you can configure in the PingSource resource, there is a global ConfigMap called `config-ping-defaults`.
This ConfigMap allows you to change the maximum amount of data that the PingSource adds to the CloudEvents it produces. This ConfigMap allows you to change the maximum amount of data that the PingSource adds to the CloudEvents it produces.
The `dataMaxSize` parameter allows you to set the maximum number of bytes allowed to be sent for a message excluding any base64 decoding. The default value, `-1`, sets no limit for data. The `data-max-size` parameter allows you to set the maximum number of bytes allowed to be sent for a message excluding any base64 decoding. The default value, `-1`, sets no limit for data.
``` ```
apiVersion: v1 apiVersion: v1
@ -19,7 +19,7 @@ metadata:
name: config-ping-defaults name: config-ping-defaults
namespace: knative-eventing namespace: knative-eventing
data: data:
dataMaxSize: -1 data-max-size: -1
``` ```
You can edit this ConfigMap by running the command: You can edit this ConfigMap by running the command:

View File

@ -168,7 +168,7 @@ Follow the procedure for the Broker of your choice:
name: imc-channel name: imc-channel
namespace: knative-eventing namespace: knative-eventing
data: data:
channelTemplateSpec: | channel-template-spec: |
apiVersion: messaging.knative.dev/v1 apiVersion: messaging.knative.dev/v1
kind: InMemoryChannel kind: InMemoryChannel
--- ---
@ -178,7 +178,7 @@ Follow the procedure for the Broker of your choice:
name: kafka-channel name: kafka-channel
namespace: knative-eventing namespace: knative-eventing
data: data:
channelTemplateSpec: | channel-template-spec: |
apiVersion: messaging.knative.dev/v1alpha1 apiVersion: messaging.knative.dev/v1alpha1
kind: KafkaChannel kind: KafkaChannel
spec: spec:

View File

@ -97,7 +97,7 @@ metadata:
spec: spec:
config: config:
config-br-default-channel: config-br-default-channel:
channelTemplateSpec: | channel-template-spec: |
apiVersion: messaging.knative.dev/v1beta1 apiVersion: messaging.knative.dev/v1beta1
kind: KafkaChannel kind: KafkaChannel
spec: spec: