Skip to content

Commit

Permalink
fix: add missing vcs-upload-url flag for enterprise github (#302)
Browse files Browse the repository at this point in the history
* fix: add missing `vcs-upload-url` flag for enterprise github

Signed-off-by: benjohnson-dev <[email protected]>

* fix: rebuild docs for vcs-upload-url

Signed-off-by: benjohnson-dev <[email protected]>

---------

Signed-off-by: benjohnson-dev <[email protected]>
  • Loading branch information
benjohnson-dev authored Nov 12, 2024
1 parent 3d82652 commit 4e317be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func init() {
)
boolFlag(flags, "persist-log-level", "Persists the set log level down to other module loggers.")
stringFlag(flags, "vcs-base-url", "VCS base url, useful if self hosting gitlab, enterprise github, etc.")
stringFlag(flags, "vcs-upload-url", "VCS upload url, required for enterprise github.")
stringFlag(flags, "vcs-type", "VCS type. One of gitlab or github. Defaults to gitlab.",
newStringOpts().
withChoices("github", "gitlab").
Expand Down
1 change: 1 addition & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ The full list of supported environment variables is described below:
|`KUBECHECKS_VCS_BASE_URL`|VCS base url, useful if self hosting gitlab, enterprise github, etc.||
|`KUBECHECKS_VCS_TOKEN`|VCS API token.||
|`KUBECHECKS_VCS_TYPE`|VCS type. One of gitlab or github.|`gitlab`|
|`KUBECHECKS_VCS_UPLOAD_URL`|VCS upload url, required for enterprise github.||
|`KUBECHECKS_WEBHOOK_SECRET`|Optional secret key for validating the source of incoming webhooks.||
|`KUBECHECKS_WEBHOOK_URL_BASE`|The endpoint to listen on for incoming PR/MR event webhooks. For example, 'https://checker.mycompany.com'.||
|`KUBECHECKS_WEBHOOK_URL_PREFIX`|If your application is running behind a proxy that uses path based routing, set this value to match the path prefix. For example, '/hello/world'.||
Expand Down

0 comments on commit 4e317be

Please sign in to comment.