SinkBinding reference
This topic provides reference information about the configurable parameters for SinkBinding objects.
A resource supports the following parameters:
The Subject parameter references the resources for which the “runtime contract” is augmented by Binding implementations.
Subject parameter examples
Given the following YAML, the Deployment
named mysubject
in the default
namespace is selected:
Given the following YAML, any Job
with the label working=example
in the default
namespace is selected:
Given the following YAML, any Pod
with the label working=example
OR working=sample
in the default
namespace is selected:
CloudEvent Overrides
A ceOverrides
definition supports the following fields:
Note
Only valid CloudEvent attribute names are allowed as extensions. You cannot set the spec defined attributes from the extensions override configuration. For example, you can not modify the type
attribute.
CloudEvent Overrides example
This results in the K_CE_OVERRIDES
environment variable being set on the as follows: