update minor api updates for github source. (#2100)

This commit is contained in:
Scott Nichols 2020-01-13 18:09:04 -08:00 committed by Knative Prow Robot
parent b3f4abf5c2
commit 97c84ada67
3 changed files with 9 additions and 7 deletions

View File

@ -133,9 +133,10 @@ spec:
name: githubsecret
key: secretToken
sink:
apiVersion: serving.knative.dev/v1
kind: Service
name: github-message-dumper
ref:
apiVersion: serving.knative.dev/v1
kind: Service
name: github-message-dumper
```
Then, apply that yaml using `kubectl`:

View File

@ -15,8 +15,9 @@ spec:
name: githubsecret
key: secretToken
sink:
apiVersion: serving.knative.dev/v1
kind: Service
name: github-message-dumper
ref:
apiVersion: serving.knative.dev/v1
kind: Service
name: github-message-dumper
# To use GitHub Enterprise you would need to add an entry for your githubAPIURL similar to the example below
# githubAPIURL: "https://github.mycompany.com/api/v3/"

View File

@ -7,4 +7,4 @@ spec:
template:
spec:
containers:
- image: gcr.io/knative-releases/github.com/knative/eventing-sources/cmd/event_display
- image: gcr.io/knative-releases/github.com/knative/eventing-contrib/cmd/event_display