use notifications

This commit is contained in:
Lee
2024-09-24 01:13:18 +01:00
parent 412a0cdc64
commit bbf84a1fd2
7 changed files with 78 additions and 5 deletions

View File

@ -0,0 +1,16 @@
---
apiVersion: notification.toolkit.fluxcd.io/v1
kind: Receiver
metadata:
name: webapp
namespace: flux-system
spec:
type: github
events:
- "ping"
- "push"
secretRef:
name: notification-secret
resources:
- kind: GitRepository
name: webapp