This is the demo code for my talk at the first cert-manager community talks. The slides can be found here.
The deploy/ folder contains details of how to deploy both cert-manager and manually-managed versions of the webhook.
pkg/admission is a reaaaaally hacky framework for writing validating and mutating webhooks.
main.go contains a simple validating webhook for requiring that pods have resource limits.