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:
parent
bc3db3aa24
commit
fd237d9eef
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user