digitalocean / digitalocean-cloud-controller-manager

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

Add new annotation for using certificate name when configuring load balancer TLS #722

Closed bbassingthwaite closed 1 month ago

bbassingthwaite commented 2 months ago

This will improve the users experience when using a certificate. A name is easier to identify then a UUID. If they are using lets encrypt, the underlying UUID will change on each renewal which causes headaches for users. Certificate names are also now unique so we can identify a certificate by its name even if the underlying UUID has changed.

The existing certificate ID annotation will take precedence. If they specify a name, we will use the certificate API to look it up and get the certificate ID.

timoreimann commented 1 month ago

Fixes #573.