-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add a SinkBinding sample. #2008
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
Add a SinkBinding sample. #2008
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mattmoor The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is largely derived from the ContainerSource docs, but using SinkBinding and a CronJob.
8835e09 to
23bcbd9
Compare
|
|
||
| The SinkBinding can be used to author new event sources using any of the | ||
| familiar compute abstractions that Kubernetes makes available (e.g. Deployment, | ||
| Job, DaemonSet, StatefulSet), or Knative abstractions (e.g. Service, |
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.
add CronJob, since that is used in the sample ?
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.
CronJob actually isn't PodSpecable, we are binding the Jobs it creates.
|
All pre-reqs are in. |
| @@ -0,0 +1,17 @@ | |||
| apiVersion: sources.eventing.knative.dev/v1alpha1 | |||
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.
copyright
| @@ -0,0 +1,34 @@ | |||
| apiVersion: batch/v1beta1 | |||
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.
copyright
|
/lgtm |
|
/lgtm |
|
/hold cancel |
This is largely derived from the ContainerSource docs, but
using SinkBinding and a CronJob.
/hold
This needs the following related PRs to land: