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

Use google CEL for custom resource mappings #318

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aabmass
Copy link
Contributor

@aabmass aabmass commented Feb 7, 2022

No description provided.

@aabmass aabmass force-pushed the mr-cel branch 2 times, most recently from f268d26 to 3aaa77e Compare February 7, 2022 19:23
@ItsLastDay
Copy link

This looks like a great feature! Why wasn't it implemented in the end?

@aabmass
Copy link
Contributor Author

aabmass commented Apr 14, 2023

This was intended to be a PoC and we decided we wanted to hear more use cases for this kind flexibility before including it. You can still pass a Go function to configure resource mappings (example) but you'll have to build your own collector (we figure 1st party use cases are already doing this).

Another option would be Starlark which would probably be less clunky. IIRC, this CEL approach was also quite slow in benchmarks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants