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
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