mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	controller-manager: remove deprecated insecure serving from Config
This commit is contained in:
		@@ -32,10 +32,8 @@ type Config struct {
 | 
			
		||||
	// LoopbackClientConfig is a config for a privileged loopback connection
 | 
			
		||||
	LoopbackClientConfig *restclient.Config
 | 
			
		||||
 | 
			
		||||
	// TODO: remove deprecated insecure serving
 | 
			
		||||
	InsecureServing *apiserver.DeprecatedInsecureServingInfo
 | 
			
		||||
	Authentication  apiserver.AuthenticationInfo
 | 
			
		||||
	Authorization   apiserver.AuthorizationInfo
 | 
			
		||||
	Authentication apiserver.AuthenticationInfo
 | 
			
		||||
	Authorization  apiserver.AuthorizationInfo
 | 
			
		||||
 | 
			
		||||
	// the general kube client
 | 
			
		||||
	Client *clientset.Clientset
 | 
			
		||||
 
 | 
			
		||||
@@ -51,7 +51,7 @@ func (kubeControllerManagerTester) StartTestServer(t kubectrlmgrtesting.Logger,
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return nil, nil, nil, nil, err
 | 
			
		||||
	}
 | 
			
		||||
	return gotResult.Options.SecureServing, gotResult.Config.SecureServing, gotResult.Config.InsecureServing, gotResult.TearDownFn, err
 | 
			
		||||
	return gotResult.Options.SecureServing, gotResult.Config.SecureServing, nil, gotResult.TearDownFn, err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type cloudControllerManagerTester struct{}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user