digitalocean / digitalocean-cloud-controller-manager

Kubernetes cloud-controller-manager for DigitalOcean (beta)
Apache License 2.0
523 stars 147 forks source link

feat(CON-7851): Register LB admission webhook #676

Closed prichrd closed 7 months ago

prichrd commented 7 months ago

This change introduces an admission webhook validating load balancer services. The endpoint builds the same request that CCM would, and queries DO API with a validation flag to check for potential configuration issues.

Some changes to the Makefile also allow the new binary digitalocean-cloud-controller-manager-admission-server to be built and packaged in a docker image.