Skip to content

Enable eventing when a Trigger is created for first time #2012

@akashrv

Description

@akashrv

Problem
Today, users have to enable eventing on the namespace using the label:knative-eventing-injection: enabled, and then create triggers that target default broker. Labelling the namespace creates the default broker and necessary roles and sets things up for the default user experience.
To improve UX, can trigger reconciler label the namespace if needed (if no default broker present, and namespace is not labelled) ?

This way, for default user experience, users can directly create a Trigger.

Persona:
Which persona is this feature for?
Developer

Exit Criteria
A measurable (binary) test that would indicate that the problem has been resolved.

  • Create a trigger in a new namespace that is not labelled, knative-eventing-injection: enabled or doesn't have default broker. Trigger should get created and point to the default broker and start working.

Time Estimate (optional):
How many developer-days do you think this may take to resolve?
5

Additional context (optional)
Add any other context about the feature request here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions