Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildClientCertificateManager (0.19 sec)

  1. cmd/kubelet/app/server_bootstrap_test.go

    		UserAgent: "FirstClient",
    		Host:      s.URL,
    	}
    	config2 := &restclient.Config{
    		UserAgent: "SecondClient",
    		Host:      s.URL,
    	}
    
    	nodeName := types.NodeName("test")
    	m, err := buildClientCertificateManager(config1, config2, testDir, nodeName)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer m.Stop()
    	r := m.(rotater)
    
    	// get an expired CSR (simulating historical output)
    	server.backdate = 2 * time.Hour
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  2. cmd/kubelet/app/server.go

    	clientConfig.Dial = d.DialContext
    	return d.CloseAll, nil
    }
    
    // buildClientCertificateManager creates a certificate manager that will use certConfig to request a client certificate
    // if no certificate is available, or the most recent clientConfig (which is assumed to point to the cert that the manager will
    // write out).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
Back to top