Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sijoma/cave-canem
A watchdog for Kubernetes rolebindings. Barks (Slack notifications) when something is happening on your front porch.
https://github.com/sijoma/cave-canem
go kubernetes slack
Last synced: about 1 month ago
JSON representation
A watchdog for Kubernetes rolebindings. Barks (Slack notifications) when something is happening on your front porch.
- Host: GitHub
- URL: https://github.com/sijoma/cave-canem
- Owner: Sijoma
- Created: 2021-12-18T10:34:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-07T12:46:26.000Z (almost 2 years ago)
- Last Synced: 2024-06-21T18:54:34.105Z (7 months ago)
- Topics: go, kubernetes, slack
- Language: Go
- Homepage:
- Size: 117 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cave canem - Beware of the dog
A fun little application that acts as a watchdog for Kubernetes rolebindings.
If something happens on the front porch it starts barking (slack notifications).## Setup:
1. Set environment variable to your webhook url
```
export SLACK_WEBHOOK==https://hooks.slack.com/services/......
```
2. Set kubernetes context (when running out of cluster)
3. Start application `go run .`Running in-cluster: see lines 35 to 39 and set up rolebinding etc
## Message examples
### Added
![img.png](img.png)### Modified
![img_1.png](img_1.png)
### Deleted
![img_2.png](img_2.png)