compliantkubernetes-apps
compliantkubernetes-apps copied to clipboard
Alert/warn/notify if expected webhooks is missing
Proposed feature
Since the webhooks is very important for the platform we should make sure that the platform administrators is notified if any of the expected webhooks is missing from the cluster, like if it has been manually deleted. Alternatively make it impossible to delete.
Proposed alternatives
I see some different solutions for this.
- An alert that will fire if any of the webhooks is missing
- Another webhook that warns on any requests if any webhook is missing
- Maybe you can configure the apiserver to enforce this or similar (like static pods but for webhooks).
- But that would need to be investigated
Additional context
No response
Definition of done
- [ ] Platform administrators is notified if any of the webhook is deleted
- [ ] (Alternatively) It's impossible to delete any of the webhooks