This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/kubernetes/apps/flux-system/add-ons/webhooks/git/receiver.yaml

30 lines
752 B
YAML
Raw Normal View History

2023-08-13 12:13:53 -05:00
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/receiver-notification-v1.json
apiVersion: notification.toolkit.fluxcd.io/v1
2023-08-13 12:13:53 -05:00
kind: Receiver
metadata:
2023-11-27 22:31:02 -06:00
name: git-receiver
2023-08-13 12:13:53 -05:00
namespace: flux-system
spec:
type: github
events:
- "ping"
- "push"
secretRef:
2023-11-27 22:31:02 -06:00
name: git-webhook-token
2023-08-13 12:13:53 -05:00
resources:
- apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
name: "valinor"
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"