Skip to content

Commit

Permalink
Configure the git resolver with the GitHub API token
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
  • Loading branch information
abayer authored and tekton-robot committed Feb 3, 2023
1 parent edf160d commit 365f810
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tekton/cd/pipeline/overlays/dogfooding/git-resolver-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: git-resolver-config
namespace: tekton-pipelines-resolvers
data:
api-token-secret-key: GITHUB_TOKEN
api-token-secret-name: github-token
api-token-secret-namespace: default
default-org: ""
default-revision: main
default-url: https://github.com/tektoncd/catalog.git
fetch-timeout: 1m
scm-type: github
server-url: ""
1 change: 1 addition & 0 deletions tekton/cd/pipeline/overlays/dogfooding/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ patchesStrategicMerge:
- webhook.yaml
- controller.yaml
- feature-flags.yaml
- git-resolver-config.yaml

0 comments on commit 365f810

Please sign in to comment.