A fun little application that acts as a watchdog for Kubernetes rolebindings. If something happens on the front porch it starts barking (slack notifications).
- Set environment variable to your webhook url
export SLACK_WEBHOOK==https://hooks.slack.com/services/......
- Set kubernetes context (when running out of cluster)
- Start application
go run .
Running in-cluster: see lines 35 to 39 and set up rolebinding etc