Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/docs/api/config/v1alpha1.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ _Appears in:_
| --- | --- |
| `url` _string_ | URL is a exact match for the repo-url this auth can be used for. |
| `urlPrefix` _string_ | URLPrefix is a prefix-match for the repo urls this auth can be used for. |
| `webHookSecret` _string_ | WebHookSecret is the secret used to validate incoming webhooks. |
| `credentials` _[GitCredentials](#gitcredentials)_ | Credentials to use when connecting to git. |


Expand Down
3 changes: 3 additions & 0 deletions pkg/api/config/v1alpha1/platform_config_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ type GitAuth struct {
// URLPrefix is a prefix-match for the repo urls this auth can be used for.
URLPrefix string `json:"urlPrefix,omitempty"`

// WebHookSecret is the secret used to validate incoming webhooks.
WebHookSecret string `json:"webHookSecret,omitempty"`

// Credentials to use when connecting to git.
Credentials GitCredentials `json:"credentials,omitempty"`
}
Expand Down