Created
March 28, 2019 04:39
-
-
Save prudhvigodithi/30098dfdcfa8749f499bd9d402215b83 to your computer and use it in GitHub Desktop.
Knative events
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: sources.eventing.knative.dev/v1alpha1 | |
kind: CronJobSource | |
metadata: | |
name: test-cronjob-source | |
spec: | |
schedule: "*/2 * * * *" | |
data: '{"message": "Hello ${name}"}' | |
sink: | |
apiVersion: serving.knative.dev/v1alpha1 | |
kind: Service | |
name: message-dumper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment