Skip to content

ApiServerSource should set Status.Ce Attributes based on the mode #4180

@capri-xiyue

Description

@capri-xiyue

Describe the bug
Now ApiServerSourcewill set in the status the 6 EventTypes. It should only set the three that correspond to the mode. Say you configure the mode to be ref, we should just set the add, update, delete event types that belong to ref. Not the ones from resource

Expected behavior
ApiServerSource should set Status.Ce Attributes based on the mode

To Reproduce
Create a ApiServerSource and check the Status.Ce Attributes

Metadata

Metadata

Assignees

Labels

area/sourceskind/bugCategorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions