-
Notifications
You must be signed in to change notification settings - Fork 590
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
Add EventPolicy
type
#7971
Comments
This one can be help, it's not perfect though https://github.com/knative/eventing/blob/main/cmd/schema/main.go |
/assign |
Do we also want to have some rules for restricting the event types? E.g. does each allowed |
Not from the beginning. But we have this as a possible improvement listed in the FT to allow "more precise filter mechanisms" which could include to filter on event types too. |
As the Eventing Authorization feature track describes, the
EventPolicy
is a new resource type, defining the allowed subjects to a list of targets.It can look like the following:
Therefor we should do the following:
pkg/apis/eventing/v1alpha1
and be defined as the following:config/core/resources/eventtype.yaml
EventPolicy
typeThis can be done, by adding
EventPolicy
type. Check on the Broker for an example.Hints:
./hack/update-codegen.sh
to run the code generators to create the deepcopy methods and clientsAdditional hints for new contributors before starting with this issue:
Draft
status, the issue is subject to change and thus should not be started to be worked on/assign
) and ask any question you have. Please be aware that we might unassign you, if we don't see any progress from your side to give other contributors also a chance to work on this issue.The text was updated successfully, but these errors were encountered: