Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SharedCertificateExists (0.19 sec)

  1. cmd/kubeadm/app/phases/certs/certs_test.go

    			certstestutil.WritePKIFiles(t, tmpdir, test.files)
    
    			// executes create func
    			ret, err := SharedCertificateExists(cfg)
    			switch {
    			case err != nil:
    				if agg, ok := err.(utilerrors.Aggregate); ok && len(agg.Errors()) != test.expectedErrors {
    					t.Errorf("SharedCertificateExists didn't fail with the expected number of errors, expected: %v, got: %v", test.expectedErrors, len(agg.Errors()))
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/join/preflight.go

    	}
    
    	if !hasCertificateKey {
    		// checks if the certificates are provided and are still valid, not expired yet.
    		if ret, err := certs.SharedCertificateExists(initConfiguration); !ret {
    			return err
    		}
    	}
    
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/certs/certs.go

    	uxName     string
    }
    
    // SharedCertificateExists verifies if the shared certificates exist and are still valid - the certificates must be
    // equal across control-plane nodes: ca.key, ca.crt, sa.key, sa.pub, front-proxy-ca.key, front-proxy-ca.crt and etcd/ca.key, etcd/ca.crt if local/stacked etcd
    // Missing private keys of CA are non-fatal and produce warnings.
    func SharedCertificateExists(cfg *kubeadmapi.ClusterConfiguration) (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 05 10:17:14 UTC 2023
    - 19.4K bytes
    - Viewed (0)
Back to top