Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 573 for approved (0.22 sec)

  1. pkg/controller/certificates/certificate_controller_utils.go

    	v1 "k8s.io/api/core/v1"
    )
    
    // IsCertificateRequestApproved returns true if a certificate request has the
    // "Approved" condition and no "Denied" conditions; false otherwise.
    func IsCertificateRequestApproved(csr *certificates.CertificateSigningRequest) bool {
    	approved, denied := GetCertApprovalCondition(&csr.Status)
    	return approved && !denied
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 02 07:05:23 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  2. pkg/controller/certificates/cleaner/cleaner_test.go

    	}{
    		{
    			"no delete approved not passed deadline",
    			metav1.NewTime(time.Now().Add(-1 * time.Minute)),
    			[]byte(unexpiredCert),
    			[]capi.CertificateSigningRequestCondition{
    				{
    					Type:           capi.CertificateApproved,
    					LastUpdateTime: metav1.NewTime(time.Now().Add(-50 * time.Minute)),
    				},
    			},
    			[]string{},
    		},
    		{
    			"no delete approved passed deadline not issued",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 07 15:19:45 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  3. pkg/controller/certificates/certificate_controller_utils_test.go

    		expectedIsApproved bool
    	}{
    		{
    			"Not any conditions exist",
    			nil,
    			false,
    		}, {
    			"Approved not exist and Denied exist",
    			[]certificatesapi.CertificateSigningRequestCondition{
    				{
    					Type: certificatesapi.CertificateDenied,
    				},
    			},
    			false,
    		}, {
    			"Approved exist and Denied not exist",
    			[]certificatesapi.CertificateSigningRequestCondition{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 05 22:45:34 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  4. src/crypto/internal/boring/fipstls/tls.go

    // Package fipstls allows control over whether crypto/tls requires FIPS-approved settings.
    // This package only exists with GOEXPERIMENT=boringcrypto, but the effects are independent
    // of the use of BoringCrypto.
    package fipstls
    
    import (
    	"internal/stringslite"
    	"sync/atomic"
    )
    
    var required atomic.Bool
    
    // Force forces crypto/tls to restrict TLS configurations to FIPS-approved settings.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. pkg/test/csrctrl/controllers/csr_controller.go

    // "Approved" condition and no "Denied" conditions; false otherwise.
    func isCertificateRequestApproved(csr *certv1.CertificateSigningRequest) bool {
    	approved, denied := getCertApprovalCondition(&csr.Status)
    	return approved && !denied
    }
    
    func getCertApprovalCondition(status *certv1.CertificateSigningRequestStatus) (approved bool, denied bool) {
    	for _, c := range status.Conditions {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 17:36:41 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. pkg/registry/certificates/certificates/strategy_test.go

    					Username: "alice",
    					UID:      "234",
    					Groups:   nil,
    				},
    				Status: certapi.CertificateSigningRequestStatus{Conditions: []certapi.CertificateSigningRequestCondition{}},
    			},
    		},
    		"pre-approved status": {
    			ctx: genericapirequest.NewContext(),
    			obj: &certapi.CertificateSigningRequest{
    				Status: certapi.CertificateSigningRequestStatus{
    					Conditions: []certapi.CertificateSigningRequestCondition{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/certificates/v1beta1/types.go

    const (
    	// Signs certificates that will be honored as client-certs by the
    	// kube-apiserver. Never auto-approved by kube-controller-manager.
    	KubeAPIServerClientSignerName = "kubernetes.io/kube-apiserver-client"
    
    	// Signs client certificates that will be honored as client-certs by the
    	// kube-apiserver for a kubelet.
    	// May be auto-approved by kube-controller-manager.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apihelpers/helpers.go

    }
    
    // APIApprovalState covers the various options for API approval annotation states
    type APIApprovalState int
    
    const (
    	// APIApprovalInvalid means the annotation doesn't have an expected value
    	APIApprovalInvalid APIApprovalState = iota
    	// APIApproved if the annotation has a URL (this means the API is approved)
    	APIApproved
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 9.5K bytes
    - Viewed (0)
  9. RELEASE_BRANCHES.md

    * Updates to documentation do not require explicit approval from the Technical Oversight Committee (TOC). This can be
      held off after the release. Hiding/Showing documentation does not require TOC approval.
    * Cases for other API changes require TOC approval
        * Simple `meshConfig` changes have been approved in the past. Functionality should not be enabled by default.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 12 23:27:43 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/bootstraptoken/node/tlsbootstrap.go

    		},
    	})
    }
    
    // AutoApproveNodeBootstrapTokens creates RBAC rules in a way that makes Node Bootstrap Tokens' CSR auto-approved by the csrapprover controller
    func AutoApproveNodeBootstrapTokens(client clientset.Interface) error {
    	fmt.Println("[bootstrap-token] Configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token")
    
    	// Always create this kubeadm-specific binding though
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 15 10:49:52 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top