Open creydr opened 1 month ago
EventPolicySpecTo must only contain either a Ref or a Selector. Not both at the same time
I did (perhaps wrongly) include this validation logic in this PR: https://github.com/knative/eventing/pull/7995
Hi @creydr @pierDipi , If okay, I can take this up.
Hey @dharmjit, would be great, if you could work on this. The other required issue (#7974) should be done soon the the PR merge (I just lgtm'ed it).
/assign @dharmjit
Hey @dharmjit, as the prerequisite issues are resolved, this should be ready to be worked on (moved from "Backlog" to "Ready").
Hey @dharmjit , let me know if you don't have sufficient bandwidth so that I can take this up while you are working on the reconciler part (which itself is a big part) Thanks!
@dharmjit are there anything I can help you with?
If you're still working on this issue, please let me know within the next 24 hours. We understand that plans and priorities can change, and if you're no longer able to continue with this task, that's completely okay! In case I don't hear back from you in the next 24 hours, I'll reassign the issue to @rahulii to ensure our workflow continues smoothly.
@Leo6Leo Apologies, I got caught up in some stuff. I will try to pick this up tomorrow and submit a PR.
We need to add a webhook for EventPolicies, with at least the following validations for EventPolicies:
EventPolicy
must not be created, when theauthentication-oidc
feature flag isdisabled
EventPolicySpecTo
must only contain either aRef
or aSelector
. Not both at the same timePrerequisites:
7971
7974
Additional context:
Additional 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
). 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.