Skip to content

EasyMile/certificate-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Certificate Controller Build Status Go ReportCard

Context

A kubernetes controller for handling the service.beta.kubernetes.io/aws-load-balancer-ssl-cert annotation on services. This annotation allows kubernetes to bind an ACM certificate to the service ELB to provide a tls termination at the ELB level. The service.beta.kubernetes.io/aws-load-balancer-ssl-cert takes an ARN as value.

In order to avoid each service declaration to be aware of ARNs, we create this certificate-controller. Its purpose is to watch for service annoted with easymile.com/certificate-controller.class and annotate them with the right ARN found in AWS.

Usage

It takes two environment variables as parameters:

  • CERTIFICATE_CONTROLLER_CERT_ARN: the AWS ARN of the ACM certificate to associate to the service load balancer.
  • CERTIFICATE_CONTROLLER_CLASS: the identifier for this controller (default: certificate-controller). The controller will watch for services with annotation easymile.com/certificate-controller.class matching this identifier. This allow to run multiple controller with different class and ARNs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published