Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for certificatesapi (0.8 sec)

  1. plugin/pkg/admission/certificates/ctbattest/admission_test.go

    			allowedName:                      "abc.com/xyz",
    			attributes: &testAttributes{
    				resource: certificatesapi.Resource("clustertrustbundles"),
    				oldObj: &certificatesapi.ClusterTrustBundle{
    					Spec: certificatesapi.ClusterTrustBundleSpec{},
    				},
    				obj: &certificatesapi.ClusterTrustBundle{
    					Spec: certificatesapi.ClusterTrustBundleSpec{},
    				},
    				operation: admission.Update,
    			},
    			allowed: true,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/certs/certlist.go

    				return err
    			}
    		}
    	}
    	return nil
    }
    
    // CertificateMap is a flat map of certificates, keyed by Name.
    type CertificateMap map[string]*KubeadmCert
    
    // CertTree returns a one-level-deep tree, mapping a CA cert to an array of certificates that should be signed by it.
    func (m CertificateMap) CertTree() (CertificateTree, error) {
    	caMap := make(CertificateTree)
    
    	for _, cert := range m {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/certs/certlist_test.go

    		Name:   "leaf1",
    		CAName: "root",
    	}
    	selfSigned := &KubeadmCert{
    		Name: "self-signed",
    	}
    
    	certMap := CertificateMap{
    		"root":        rootCert,
    		"leaf0":       leaf0,
    		"leaf1":       leaf1,
    		"self-signed": selfSigned,
    	}
    
    	orphanCertMap := CertificateMap{
    		"leaf0": leaf0,
    	}
    
    	if _, err := orphanCertMap.CertTree(); err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. pkg/controlplane/instance.go

    	authorizationapiv1 "k8s.io/api/authorization/v1"
    	autoscalingapiv1 "k8s.io/api/autoscaling/v1"
    	autoscalingapiv2 "k8s.io/api/autoscaling/v2"
    	batchapiv1 "k8s.io/api/batch/v1"
    	certificatesapiv1 "k8s.io/api/certificates/v1"
    	certificatesv1alpha1 "k8s.io/api/certificates/v1alpha1"
    	coordinationapiv1 "k8s.io/api/coordination/v1"
    	apiv1 "k8s.io/api/core/v1"
    	discoveryv1 "k8s.io/api/discovery/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top