Summary
The send-cloudevents-for-runs feature flag was deprecated in tektoncd/pipeline v1.12.0
(tektoncd/pipeline#9774).
CloudEvents for CustomRuns are now enabled by default when a sink is configured in the
config-events ConfigMap.
The SendCloudEventsForRuns field in PipelineProperties was marked deprecated in #3430,
which also updated the default from false to true to align with upstream behaviour.
Prerequisite
This removal must only happen after send-cloudevents-for-runs is fully removed from
tektoncd/pipeline.
Track upstream removal progress here:
- Upstream deprecation: tektoncd/pipeline#9774
- Watch for the upstream issue/PR that removes the field entirely from
tektoncd/pipeline
before acting on this issue.
What needs to be done (after upstream field is removed)
Notes
- This field only ever affected
CustomRun objects; it has no effect on TaskRun or
PipelineRun.
- Users who set
send-cloudevents-for-runs: false to suppress duplicate events from a
custom task controller that already sends its own CloudEvents should be made aware via
release notes when this removal lands.
- See similar precedent: removal of the deprecated
verification-mode field tracked in
#1497.
References
Summary
The
send-cloudevents-for-runsfeature flag was deprecated in tektoncd/pipeline v1.12.0(tektoncd/pipeline#9774).
CloudEvents for CustomRuns are now enabled by default when a sink is configured in the
config-eventsConfigMap.The
SendCloudEventsForRunsfield inPipelinePropertieswas marked deprecated in #3430,which also updated the default from
falsetotrueto align with upstream behaviour.Prerequisite
This removal must only happen after
send-cloudevents-for-runsis fully removed fromtektoncd/pipeline.
Track upstream removal progress here:
tektoncd/pipelinebefore acting on this issue.
What needs to be done (after upstream field is removed)
send-cloudevents-for-runsis fully removed from the upstreamtektoncd/pipelinerelease being consumed by the operatorSendCloudEventsForRunsfield fromPipelinePropertiesstruct inpkg/apis/operator/v1alpha1/tektonpipeline_types.goSetDefaultslogic inpkg/apis/operator/v1alpha1/tektonpipeline_defaults.godocs/TektonPipeline.md) to remove references tosend-cloudevents-for-runsNotes
CustomRunobjects; it has no effect onTaskRunorPipelineRun.send-cloudevents-for-runs: falseto suppress duplicate events from acustom task controller that already sends its own CloudEvents should be made aware via
release notes when this removal lands.
verification-modefield tracked in#1497.
References