GoogleCloudPlatform / k8s-multicluster-ingress

kubemci: Command line tool to configure L7 load balancers using multiple kubernetes clusters
Apache License 2.0
377 stars 68 forks source link

Share SSL cert logic for secret with ingress-gce #124

Open nikhiljindal opened 6 years ago

nikhiljindal commented 6 years ago

To update the cert in ingress-gce controller, we first create a new cert with a different name, then update the target proxy to point to the new cert and then delete the old cert. In kubemci, we just delete the old cert and then recreate it with the same name but new value. This is simpler, but can lead to downtime in the brief period when we have deleted the old cert but havent created the new one.

We need to converge this with ingress-gce by sharing the same code.

cc @G-Harmon @bowei