# The referenced Secret (gitea-webhook-token) is created directly on the # cluster, not committed here - see the server-side command sequence. apiVersion: notification.toolkit.fluxcd.io/v1 kind: Receiver metadata: name: gitea-receiver namespace: flux-system spec: type: gitea events: - push secretRef: name: gitea-webhook-token resources: - apiVersion: source.toolkit.fluxcd.io/v1 kind: GitRepository name: flux-system