mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-03 23:40:03 +00:00 
			
		
		
		
	test/e2e_node: set apiserver kubelet preferred addresses
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
This commit is contained in:
		@@ -88,6 +88,8 @@ func (a *APIServer) Start() error {
 | 
				
			|||||||
	o.Authentication.ServiceAccounts.Issuers = []string{"https://foo.bar.example.com"}
 | 
						o.Authentication.ServiceAccounts.Issuers = []string{"https://foo.bar.example.com"}
 | 
				
			||||||
	o.Authentication.ServiceAccounts.KeyFiles = []string{saSigningKeyFile.Name()}
 | 
						o.Authentication.ServiceAccounts.KeyFiles = []string{saSigningKeyFile.Name()}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						o.KubeletConfig.PreferredAddressTypes = []string{"InternalIP"}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	errCh := make(chan error)
 | 
						errCh := make(chan error)
 | 
				
			||||||
	go func() {
 | 
						go func() {
 | 
				
			||||||
		defer close(errCh)
 | 
							defer close(errCh)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user