Add notification support

main
Julius 2022-05-22 22:52:11 +02:00
parent 07db607b7b
commit c98ba05772
Signed by: j00lz
GPG Key ID: AF241B0AA237BBA2
2 changed files with 26 additions and 0 deletions

View File

@ -3,3 +3,4 @@ kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml
- notifications.yaml

View File

@ -0,0 +1,25 @@
apiVersion: notification.toolkit.fluxcd.io/v1beta1
kind: Provider
metadata:
name: discord
namespace: flux-system
spec:
type: discord
channel: general
secretRef:
name: discord
---
apiVersion: notification.toolkit.fluxcd.io/v1beta1
kind: Alert
metadata:
name: on-call-webapp
namespace: flux-system
spec:
providerRef:
name: discord
eventSeverity: info
eventSources:
- kind: GitRepository
name: '*'
- kind: Kustomization
name: '*'