# flux_source_receiver.yaml
---
apiVersion: notification.toolkit.fluxcd.io/v1
kind: Receiver
metadata:
  name: flux-system
  namespace: {{ .fluxns }}
spec:
  events:
  - ping
  - push
  interval: 10m0s
  resources:
  - kind: GitRepository
    name: flux-system
    namespace: flux-system
  secretRef:
    name: webhook-token
  type: github