From fd237d9eef4927f0371716444ee7667af6e45b4a Mon Sep 17 00:00:00 2001 From: moelsayed Date: Tue, 30 Jul 2019 01:30:57 +0200 Subject: [PATCH] Fix constant kubeapi certificate regeneration --- cluster/certificates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/certificates.go b/cluster/certificates.go index 0733dec6..c35f1602 100644 --- a/cluster/certificates.go +++ b/cluster/certificates.go @@ -17,8 +17,8 @@ import ( func SetUpAuthentication(ctx context.Context, kubeCluster, currentCluster *Cluster, fullState *FullState) error { if kubeCluster.AuthnStrategies[AuthnX509Provider] { - compareCerts(ctx, kubeCluster, currentCluster) kubeCluster.Certificates = fullState.DesiredState.CertificatesBundle + compareCerts(ctx, kubeCluster, currentCluster) return nil } return nil