https://github.com/petergrace/herald
Be notified when kubernetes objects change
https://github.com/petergrace/herald
Last synced: 11 months ago
JSON representation
Be notified when kubernetes objects change
- Host: GitHub
- URL: https://github.com/petergrace/herald
- Owner: PeterGrace
- Created: 2020-08-05T19:06:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T22:23:45.000Z (over 5 years ago)
- Last Synced: 2025-04-09T08:44:44.693Z (about 1 year ago)
- Language: Rust
- Size: 313 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Herald

### Intro
Herald is a project that aims to monitor specified Kubernetes objects,
and issue webhooks to a specified service based on a template string.
### Why
I am writing Herald because I had a need for this application, and because I
have been looking for a legitimate project to cut my teeth on Rust. This app is
an attempt to get better at writing Rust code while also providing a service that
I need.
### How it works
- a CRD (Watcher) is specified that lists a specific Kubernetes `kind`,
a labelSelector, one or more target namespaces, and finally a set of info
about a webhook destination.
- When Herald detects a modification to a kind, that matches the namespaces
and labelselector,it will emit a webhook as specified to a remote service,
e.g. slack or discord