1
0
mirror of synced 2026-02-06 10:55:56 +00:00

Enable notifications for source events

This commit is contained in:
stefanprodan
2020-07-03 11:15:34 +03:00
parent b7727e2659
commit b9f7b1d175
4 changed files with 18 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ Elasticsearch, CloudWatch, Stackdriver, etc.
## Define an alert
Create an alert definition for the webapp kustomizations:
Create an alert definition for all repositories and kustomizations:
```yaml
apiVersion: notification.fluxcd.io/v1alpha1
@@ -64,10 +64,10 @@ spec:
name: slack
eventSeverity: info
eventSources:
- kind: GitRepository
name: '*'
- kind: Kustomization
name: webapp-backend
- kind: Kustomization
name: webapp-frontend
name: '*'
```
Apply the above files or commit them to the `fleet-infra` repository.