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
|
name: githubsecret
|
||||||
key: secretToken
|
key: secretToken
|
||||||
sink:
|
sink:
|
||||||
apiVersion: serving.knative.dev/v1
|
ref:
|
||||||
kind: Service
|
apiVersion: serving.knative.dev/v1
|
||||||
name: github-message-dumper
|
kind: Service
|
||||||
|
name: github-message-dumper
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, apply that yaml using `kubectl`:
|
Then, apply that yaml using `kubectl`:
|
||||||
|
|
|
@ -15,8 +15,9 @@ spec:
|
||||||
name: githubsecret
|
name: githubsecret
|
||||||
key: secretToken
|
key: secretToken
|
||||||
sink:
|
sink:
|
||||||
apiVersion: serving.knative.dev/v1
|
ref:
|
||||||
kind: Service
|
apiVersion: serving.knative.dev/v1
|
||||||
name: github-message-dumper
|
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
|
# 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/"
|
# githubAPIURL: "https://github.mycompany.com/api/v3/"
|
||||||
|
|
|
@ -7,4 +7,4 @@ spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
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