Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isClientConfigStillValid (0.54 sec)

  1. pkg/kubelet/certificate/bootstrap/bootstrap.go

    		&clientcmd.ConfigOverrides{},
    		loader,
    	).ClientConfig()
    }
    
    // isClientConfigStillValid checks the provided kubeconfig to see if it has a valid
    // client certificate. It returns true if the kubeconfig is valid, or an error if bootstrapping
    // should stop immediately.
    func isClientConfigStillValid(kubeconfigPath string) (bool, error) {
    	_, err := os.Stat(kubeconfigPath)
    	if os.IsNotExist(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 14.2K bytes
    - Viewed (0)
Back to top