-
Notifications
You must be signed in to change notification settings - Fork 153
Implement Receiver resource filtering with CEL #948
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
Conversation
|
@stefanprodan @matheuscscp I reworked it to filter the resources using CEL. I'm not quite sure that this is really that valuable, I suspect label filtering is also more efficient? There's some optimisation of the CEL that could be done within |
4969c46 to
1fe996b
Compare
d87dbfd to
b1c4e7e
Compare
45bd724 to
1e6929c
Compare
1e6929c to
d658d4a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for all the work here, @bigkevmcd! I'm very excited for this feature 😄
This is just a preliminary review. I will try to review this again soon.
5a22c4f to
bddfd56
Compare
stefanprodan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @bigkevmcd 🥇
matheuscscp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @bigkevmcd! Pretty cool contribution 👍
8e892ef to
18c1f31
Compare
|
@bigkevmcd this is good to go, please signoff all your commits and force push. |
8a9e435 to
57c36b0
Compare
348c595 to
2636e01
Compare
|
@darkowlzz It'll be a couple of weeks before I can devote more time to these things, but I will get to them. |
891a42c to
757f96d
Compare
darkowlzz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost concluding my CEL research with this. I don't think there's any hurry. This can be addressed whenever you're back to it. 🙂
pjbgf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bigkevmcd really good stuff, I am looking forward to seeing this landing. 🙇
That's 3MiB, I've definitely seen GitHub hook notifications that were > 1.5MiB. |
757f96d to
1645796
Compare
1645796 to
f79599e
Compare
f79599e to
e438ca1
Compare
matheuscscp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New batch of comments ❤️
matheuscscp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still need to go over internal/server/receiver_handlers.go once again
|
@bigkevmcd we have released the
🙏 Edit: Like Stefan said below, just need to rebase. |
|
@bigkevmcd if you rebase with main, you'll find |
15d0f16 to
eb6f1ce
Compare
7183c3c to
fc59218
Compare
592c82e to
be22b2b
Compare
Signed-off-by: Kevin McDermott <[email protected]> Co-authored-by: Matheus Pimenta <[email protected]>
be22b2b to
28deef9
Compare
stefanprodan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
|
Thanks very much for this contribution @bigkevmcd ! 🚀 🚀 🚀 |
This implementation allows filtering of wildcarded resources for receivers using CEL expressions.
Closes: #491
Spec: #491 (comment)