Add notification support

This commit is contained in:
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: resources:
- gotk-components.yaml - gotk-components.yaml
- gotk-sync.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: '*'