compliantkubernetes-apps icon indicating copy to clipboard operation
compliantkubernetes-apps copied to clipboard

Alert/warn/notify if expected webhooks is missing

Open Xartos opened this issue 2 months ago • 2 comments

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

Xartos avatar Dec 17 '24 09:12 Xartos