feat(catalog-backend): support GHE and other GitHub providers

This commit is contained in:
Fredrik Adelöw
2020-09-16 23:40:37 +02:00
parent 702546b8e3
commit 4077b424fa
5 changed files with 298 additions and 174 deletions
+11 -3
View File
@@ -62,9 +62,17 @@ catalog:
$secret:
env: GITHUB_PRIVATE_TOKEN
githubApi:
privateToken:
$secret:
env: GITHUB_PRIVATE_TOKEN
providers:
- target: https://github.com
token:
$secret:
env: GITHUB_PRIVATE_TOKEN
# Example for how to add your GitHub Enterprise instance:
# - target: https://ghe.example.net
# apiBaseUrl: https://ghe.example.net/api/v3
# token:
# $secret:
# env: GHE_PRIVATE_TOKEN
bitbucketApi:
username:
$secret: