-
Notifications
You must be signed in to change notification settings - Fork 123
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
Support user functions to be used in CEL context #697
Comments
Should log an issue and implement in https://github.com/tektoncd/experimental/tree/main/cel but we can discuss here firstly. |
Thanks, do you have a plan for how to add this plugin to the CEL controller? cc @pritidesai @afrittoli Do we need to create a TEP or present at the API group if we are trying to change an experimental feature? I remember @vincent-pli was trying to do some enhancement on CEL, but that get dropped because it was not brought up in the community call. |
I would recommend to demonstrate it in the API WG to get attention from the folks, but that does not block from implementing it. |
@pugangxa Do you have an example to make it work as part of the CEL controller? If you have it, you or our team can start take it forward to present in the Tekton API WG and get some feedbacks from the community. |
Thanks Tommy, will work out an example in 2~3 days and then move forward. Will update you then, thanks. |
Sorry I have other stuff and will postpone this a little bit. |
@Tomcli The example is available https://github.com/pugangxa/experimental/tree/cel-plugin-poc, please take a look. |
thanks @pugangxa, I will create a google docs based on your documents to present to the community and we also need to discuss how to workaround on the security part later on. But this is a good start to show the community what we want to have. |
@pugangxa I created this google doc for your proposal and updated some wordings and orders. Let me know if it looks good to you because I will use this doc to open the community issue and present in the API WG. |
Thanks Tommy, it looks fine to me. I created an issue tektoncd/experimental#789 and agree we can discuss how to workaround the security part later on. Can send the PR after discussion and your present in the API WG. |
@Tomcli Seems you are on vacation but any update on this? When will it be presented in the API WG? |
This week's Tekton API WG was cancelled because we have the US labor day on Monday. I will be presenting it in the next API WG on Sep 13. |
@pugangxa I presented the POC to the Tekton API WG today and here are the feedbacks
We can discuss tomorrow during our call to clarify some of these questions as well. The next step for us is to create a TEP in Tekton to answer those questions, so we can add our code to the CEL controller. |
Thanks Tommy.
Yeah we can talk tomorrow and brainstorming whether there's better solution for this kind of requirements. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
/kind feature
Description:
User can use CEL expressions in condition now, see https://github.com/kubeflow/kfp-tekton/blob/master/guides/advanced_user_guide.md
Now only the CEL builtin functions can be used. It's not possible for user to implement cel functions and used in CEL context. For example want to transform the input parameter and then output and implemented a simple function to be CEL ext function and want to use it in the expression.
Additional information:
Investigated and can let the controller load these user functions as plugin. See PoC here:
https://github.com/pugangxa/cel-plugin-poc
The text was updated successfully, but these errors were encountered: