-
Notifications
You must be signed in to change notification settings - Fork 593
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
Request for sources.knative.dev api feedback for v1alpha2 --> v1beta1 #3295
Comments
For the ApiServerSource there was a request to be able to filter on a resource's name with a trigger (not only the type). Not sure if this is easily possible already, but maybe the name could be added to a filterable attribute. Also not sure if this affects the ApiServerSource resource schema at all though (or is just an implementation detail) Otherwise, I'm not aware of any other feedback yet coming from client users (not sure also how much sources are actually used). |
Beside the name of a resource, copying over the labels of resources to filterable attributes would be nice, so that you emulate a label selector for trigger filters. Maybe another attribute like |
Thanks for the feedback @rhuss, we will take a look. |
For the PingSource, I have seen requests for supporting firing the event once on a specific date. OpenWhisk (among others) supports it: https://github.com/apache/openwhisk-package-alarms |
we also need to support timezone |
do we really need that on the pingsource ? |
would that be a more specific use-case? |
timezone is needed when triggering an event at a particular time (e.g.
It seems that's a common use-case. |
@bryeung mentioned that @bharattkukreja might have some cycles to help with this. As he is getting started in the project, I was thinking he can do simpler one(s) first, and then help more with the ones that need more changes, e.g., ApiServerSource, PingSource. @n3wscott @lionelvillard how that sounds? ContainerSource, SinkBinding promotion to v1beta1? |
Any update here, on the desired features? |
It would be great to be able to use ApiServerSources to extract information from remote clusters by providing a kubeconfig. Currently, an ApiServerSource can only interface the cluster it's running on. I briefly talked to a couple of folks in the Slack channel and the idea of using a binding (something like the GithubBinding) to implement this came up. @mattmoor, @antoineco |
I think the KubeconfigBinding would be a nice addition to the existing source indeed. It doesn't have to influence the graduation to beta though. The Binding can be implemented regardless of the API version, since it applies to the Pods created by sources, and not to the source objects themselves. |
Today, bindings only works with PodSpecable and APIServerSource is not. The APIServerSource implementation might use under the cover a PodSpecable per source or one for all in the same service account, but this is not available to the binding. |
the changes seems to be data plane wise |
I'm fine with that. I think @rhuss suggestions can be handled without changing the API, is just a matter of creating a CE with more extension attributes. So, I'm fine if you start with the move. |
I agree with @nachocano. It's all additive changes so we are fine. |
I created a new issue to discuss the new feature requests for ApiSeverSource |
Created #3785 to track the addition of kubeconfig to ApiServerSource. |
We are looking at moving the sources api to
v1beta1
.This is a request for any feedback or changes needed for the following resources:
The text was updated successfully, but these errors were encountered: