1
0
mirror of https://github.com/rancher/rke.git synced 2025-07-31 22:56:19 +00:00

Fix constant kubeapi certificate regeneration

This commit is contained in:
moelsayed 2019-07-30 01:30:57 +02:00 committed by Alena Prokharchyk
parent bc3db3aa24
commit fd237d9eef

View File

@ -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