theshire/kubernetes/apps/flux-system/add-ons/webhooks/git/receiver.yaml

30 lines
752 B
YAML
Raw Permalink Normal View History

2024-01-11 15:03:54 -06:00
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/receiver-notification-v1.json
apiVersion: notification.toolkit.fluxcd.io/v1
kind: Receiver
metadata:
name: git-receiver
namespace: flux-system
spec:
type: github
events:
- "ping"
- "push"
secretRef:
name: git-webhook-token
resources:
- apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
2024-01-18 14:43:52 -06:00
name: "homelab"
2024-01-11 15:03:54 -06:00
namespace: "flux-system"
- apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
name: "cluster"
namespace: "flux-system"
- apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
name: "cluster-apps"
namespace: "flux-system"