Skip to content

Commit

Permalink
Correct the file path of github source. (knative#897)
Browse files Browse the repository at this point in the history
There is no need to use full path as the README and YAML files
are in the same directory.
  • Loading branch information
gyliu513 authored and knative-prow-robot committed Feb 15, 2019
1 parent 9505e1a commit 18025f8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions eventing/samples/github-source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
Enter the following command to create the service from `service.yaml`:

```shell
kubectl --namespace default apply --filename eventing/samples/github-source/service.yaml
kubectl --namespace default apply --filename service.yaml
```

### Create GitHub Tokens
Expand Down Expand Up @@ -90,7 +90,7 @@ head -c 8 /dev/urandom | base64
Then, apply the githubsecret using `kubectl`:

```shell
kubectl --namespace default apply --filename eventing/samples/github-source/githubsecret.yaml
kubectl --namespace default apply --filename githubsecret.yaml
```

### Create Event Source for GitHub Events
Expand Down Expand Up @@ -126,7 +126,7 @@ spec:
Then, apply that yaml using `kubectl`:

```shell
kubectl --namespace default apply --filename eventing/samples/github-source/github-source.yaml
kubectl --namespace default apply --filename github-source.yaml
```

### Verify
Expand Down Expand Up @@ -181,13 +181,13 @@ X-Request-Id: 8a2201af-5075-9447-b593-ec3a243aff52
You can remove the Github webhook by deleting the Github source:

```shell
kubectl --namespace default delete --filename eventing/samples/github-source/github-source.yaml
kubectl --namespace default delete --filename github-source.yaml
```

Similarly, you can remove the Service and Secret via:

```shell
kubectl --namespace default delete --filename eventing/samples/github-source/service.yaml
kubectl --namespace default delete --filename eventing/samples/github-source/githubsecret.yaml
kubectl --namespace default delete --filename service.yaml
kubectl --namespace default delete --filename githubsecret.yaml
```

0 comments on commit 18025f8

Please sign in to comment.