From 99404d532ae9e9149cd941d11b754035cfb646c9 Mon Sep 17 00:00:00 2001 From: Andrew Bayer Date: Wed, 31 Aug 2022 16:58:14 -0400 Subject: [PATCH] git-resolver.md should refer to `default-revision`, not `default-branch` Just noticed this - I missed this earlier. Signed-off-by: Andrew Bayer --- docs/git-resolver.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/git-resolver.md b/docs/git-resolver.md index b26b81f63a1..a68c360b42d 100644 --- a/docs/git-resolver.md +++ b/docs/git-resolver.md @@ -6,11 +6,11 @@ This Resolver responds to type `git`. ## Parameters -| Param Name | Description | Example Value | -|------------|------------------------------------------------------------------------------|-------------------------------------------------------------| -| `url` | URL of the repo to fetch. | `https://github.com/tektoncd/catalog.git` | -| `revision` | Git revision to checkout a file from. This can be commit SHA, branch or tag. | `aeb957601cf41c012be462827053a21a420befca` `main` `v0.38.2` | -| `pathInRepo` | Where to find the file in the repo. | `/task/golang-build/0.3/golang-build.yaml` | +| Param Name | Description | Example Value | +|--------------|------------------------------------------------------------------------------|-------------------------------------------------------------| +| `url` | URL of the repo to fetch. | `https://github.com/tektoncd/catalog.git` | +| `revision` | Git revision to checkout a file from. This can be commit SHA, branch or tag. | `aeb957601cf41c012be462827053a21a420befca` `main` `v0.38.2` | +| `pathInRepo` | Where to find the file in the repo. | `/task/golang-build/0.3/golang-build.yaml` | ## Requirements @@ -26,11 +26,11 @@ for the name, namespace and defaults that the resolver ships with. ### Options -| Option Name | Description | Example Values | -|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------| -| `fetch-timeout` | The maximum time any single git resolution may take. **Note**: a global maximum timeout of 1 minute is currently enforced on _all_ resolution requests. | `1m`, `2s`, `700ms` | -| `default-url` | The default git repository URL to use if none is specified | `https://github.com/tektoncd/catalog.git` | -| `default-branch` | The default git branch to use if none is specified | `main` | +| Option Name | Description | Example Values | +|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------| +| `fetch-timeout` | The maximum time any single git resolution may take. **Note**: a global maximum timeout of 1 minute is currently enforced on _all_ resolution requests. | `1m`, `2s`, `700ms` | +| `default-url` | The default git repository URL to use if none is specified | `https://github.com/tektoncd/catalog.git` | +| `default-revision` | The default git revision to use if none is specified | `main` | ## Usage