Skip to content

Commit 15ecf35

Browse files
docs: Add missing webhook secret key used for GitHub EventSource (argoproj#1344)
Signed-off-by: Yuan Tang <[email protected]>
1 parent f10e80c commit 15ecf35

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/eventsources/setup/github.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ Example event-source yaml file is [here](https://github.com/argoproj/argo-events
3232
1. Create an API token if you don't have one. Follow [instructions](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line) to create a new GitHub API Token.
3333
Grant it the `repo_hook` permissions.
3434

35-
1. Base64 encode your api token key.
35+
1. Base64 encode your API token key.
3636

3737
echo -n <api-token-key> | base64
3838

39-
1. Create a secret called `github-access`.
39+
1. Create a secret called `github-access` that contains your encoded GitHub API token. You can also include a secret key that is encoded with `base64` for your webhook if any.
4040

4141
apiVersion: v1
4242
kind: Secret
@@ -45,6 +45,7 @@ Example event-source yaml file is [here](https://github.com/argoproj/argo-events
4545
type: Opaque
4646
data:
4747
token: <base64-encoded-api-token-from-previous-step>
48+
secret: <base64-encoded-webhook-secret-key>
4849

4950
1. Deploy the secret into K8s cluster.
5051

0 commit comments

Comments
 (0)