Add notification support
This commit is contained in:
parent
07db607b7b
commit
c98ba05772
|
@ -3,3 +3,4 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- gotk-components.yaml
|
- gotk-components.yaml
|
||||||
- gotk-sync.yaml
|
- gotk-sync.yaml
|
||||||
|
- notifications.yaml
|
||||||
|
|
25
flux/cluster/base/flux-system/notifications.yaml
Normal file
25
flux/cluster/base/flux-system/notifications.yaml
Normal 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: '*'
|
Loading…
Reference in a new issue