Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)