Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIServerSource EventTypes created once per namespace, not per source #7895

Open
Cali0707 opened this issue May 6, 2024 · 0 comments
Open
Labels
kind/bug Categorizes issue or PR as related to a bug. triage/accepted Issues which should be fixed (post-triage)

Comments

@Cali0707
Copy link
Member

Cali0707 commented May 6, 2024

Describe the bug
When there are more than one APIServerSource deployed to the same namespace, it seems like the eventtypes which are created by the duck reconciler only show up for one of the sources.

Expected behavior
Each APIServerSource should create 3 eventtypes, regardless of whether or not there already is an APIServerSource in the same namespace

To Reproduce
To reproduce, run:

SYSTEM_NAMESPACE=knative-eventing go test -v -count=1 -tags=e2e -run ApiServerSourceDataPlane_SinkTypes -timeout=8m ./test/rekt

This test creates three APIServerSources in one namespace, so you would expect to get 9 eventtypes created (each source creates 3). However, only one set of eventtypes is created.

Knative release version

Additional context
Add any other context about the problem here such as proposed priority

@Cali0707 Cali0707 added the kind/bug Categorizes issue or PR as related to a bug. label May 6, 2024
@pierDipi pierDipi added the triage/accepted Issues which should be fixed (post-triage) label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. triage/accepted Issues which should be fixed (post-triage)
Projects
None yet
Development

No branches or pull requests

2 participants