mirror of https://github.com/knative/docs.git
update minor api updates for github source. (#2100)
This commit is contained in:
parent
b3f4abf5c2
commit
97c84ada67
|
@ -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`:
|
||||
|
|
|
@ -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/"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue