Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 418 for approved (0.12 sec)

  1. .github/workflows/label-approved.yml

    name: Label Approved
    
    on:
      schedule:
        - cron: "0 12 * * *"
      workflow_dispatch:
    
    jobs:
      label-approved:
        if: github.repository_owner == 'tiangolo'
        runs-on: ubuntu-latest
        steps:
        - name: Dump GitHub context
          env:
            GITHUB_CONTEXT: ${{ toJson(github) }}
          run: echo "$GITHUB_CONTEXT"
        - uses: docker://tiangolo/label-approved:0.0.4
          with:
            token: ${{ secrets.FASTAPI_LABEL_APPROVED }}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 22 18:43:10 UTC 2024
    - 610 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/apiapproval/apiapproval_controller_test.go

    		},
    		{
    			name:              "invalid annotation",
    			group:             "sigs.k8s.io",
    			annotationValue:   "bad value",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  3. pkg/controller/certificates/approver/sarapprove.go

    		approved, err := a.authorize(ctx, csr, r.permission)
    		if err != nil {
    			return err
    		}
    		if approved {
    			appendApprovalCondition(csr, r.successMessage)
    			_, err = a.client.CertificatesV1().CertificateSigningRequests().UpdateApproval(ctx, csr.Name, csr, metav1.UpdateOptions{})
    			if err != nil {
    				return fmt.Errorf("error updating approval for csr: %v", err)
    			}
    			return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 16:03:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. hack/verify-licenses.sh

    echo '[INFO] Installing go-licenses...'
    go install github.com/google/go-licenses@latest
    
    # Fetching CNCF Approved List Of Licenses
    # Refer: https://github.com/cncf/foundation/blob/main/allowed-third-party-license-policy.md
    curl -s 'https://spdx.org/licenses/licenses.json' -o "${ARTIFACTS}"/licenses.json
    
    echo '[INFO] Fetching current list of CNCF approved licenses...'
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:44 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top