From 225a69b10f279e40a59525ec987420c7f01b6d4d Mon Sep 17 00:00:00 2001 From: Arkadius Jonczek <7071411+arkadiusjonczek@users.noreply.github.com> Date: Fri, 23 Jun 2023 12:10:36 +0200 Subject: [PATCH] docs: fix eventing gitlab source readme (#5598) * docs: fix gitlab webhook breadcrumb in gitlab eventing readme * docs: use project access token for gitlab source in gitlab eventing readme from security perspective it's better to use project access token instead of personal access token --- code-samples/eventing/gitlab-source/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code-samples/eventing/gitlab-source/README.md b/code-samples/eventing/gitlab-source/README.md index 9a605408f..24412a906 100644 --- a/code-samples/eventing/gitlab-source/README.md +++ b/code-samples/eventing/gitlab-source/README.md @@ -74,7 +74,7 @@ kubectl -n default apply -f event-display.yaml ### Create GitLab Tokens 1. Create a - [personal access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html) + [project access token](https://docs.gitlab.com/ee/user/project/settings/project_access_tokens.html) which the GitLab source will use to register webhooks with the GitLab API. The token must have an "api" access scope in order to create repository webhooks. Also decide on a secret token that your source will use to @@ -153,7 +153,7 @@ kubectl -n default apply -f event-display.yaml ### Verify Verify that GitLab webhook was created by looking at the list of webhooks under -**Settings >> Integrations** in your GitLab project. A hook should be listed +**Settings >> Webhooks** in your GitLab project. A hook should be listed that points to your Knative cluster. Create a push event and check the logs of the Pod backing the