Skip to content

Commit

Permalink
Merge pull request #133 from matteotumiati/patch-1
Browse files Browse the repository at this point in the history
Included Azure DevOps as provider for Rancher webhooks
  • Loading branch information
olblak committed May 19, 2024
2 parents a09f739 + 8b33952 commit d0d3d03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ By default, Fleet utilizes polling (default: every 15 seconds) to pull from a Gi

For installations with multiple tens up to hundreds of Git repos, and in general to reduce latency (the time between a push to Git and fleet reacting to it), configuring webhooks is recommended instead of polling.

Fleet currently supports Github, GitLab, Bitbucket, Bitbucket Server and Gogs.
Fleet currently supports Azure DevOps, GitHub, GitLab, Bitbucket, Bitbucket Server, and Gogs.

### 1. Configure the webhook service. Fleet uses a gitjob service to handle webhook requests. Create an ingress that points to the gitjob service.

Expand Down Expand Up @@ -88,16 +88,16 @@ If you configured the webhook the polling interval will be automatically adjuste
| BitBucket | `bitbucket` |
| BitBucketServer | `bitbucket-server` |
| Gogs | `gogs` |
| Azure Devops | `azure-username` |
| Azure Devops | `azure-password` |
| Azure DevOps | `azure-username` |
| Azure DevOps | `azure-password` |

For example, to create a secret containing a GitHub secret to validate the webhook payload, run:

```shell
kubectl create secret generic gitjob-webhook -n cattle-fleet-system --from-literal=github=webhooksecretvalue
```

For Azure Devops:
For Azure DevOps:
- Enable basic authentication in Azure
- Create a secret containing the credentials for the basic authentication
```shell
Expand Down

0 comments on commit d0d3d03

Please sign in to comment.