Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for unapproved (0.28 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/apiapproval/apiapproval_controller_test.go

    		},
    		{
    			name:              "approved",
    			group:             "sigs.k8s.io",
    			annotationValue:   "https://github.com/kubernetes/kubernetes/pull/79724",
    			validateCondition: verifyCondition(apiextensionsv1.ConditionTrue, `approved in https://github.com/kubernetes/kubernetes/pull/79724`),
    		},
    		{
    			name:              "unapproved",
    			group:             "sigs.k8s.io",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apihelpers/helpers_test.go

    		expected    APIApprovalState
    	}{
    		{
    			name:        "bare unapproved",
    			annotations: map[string]string{apiextensionsv1.KubeAPIApprovedAnnotation: "unapproved"},
    			expected:    APIApprovalBypassed,
    		},
    		{
    			name:        "unapproved with message",
    			annotations: map[string]string{apiextensionsv1.KubeAPIApprovedAnnotation: "unapproved, experimental-only"},
    			expected:    APIApprovalBypassed,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 20.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apihelpers/helpers.go

    	APIApprovalInvalid APIApprovalState = iota
    	// APIApproved if the annotation has a URL (this means the API is approved)
    	APIApproved
    	// APIApprovalBypassed if the annotation starts with "unapproved" indicating that for whatever reason the API isn't approved, but we should allow its creation
    	APIApprovalBypassed
    	// APIApprovalMissing means the annotation is empty
    	APIApprovalMissing
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 9.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go

    				t.Helper()
    				if len(errors) == 0 {
    					t.Fatal("expected errors, got none")
    				}
    				if e, a := `metadata.annotations[api-approved.kubernetes.io]: Invalid value: "invalid": protected groups must have approval annotation "api-approved.kubernetes.io" with either a URL or a reason starting with "unapproved", see https://github.com/kubernetes/enhancements/pull/1111`, errors.ToAggregate().Error(); e != a {
    					t.Fatal(errors)
    				}
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/scope_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Name:        strings.ToLower(string(scope)) + "s.test.apiextensions-apiserver.k8s.io",
    					Annotations: map[string]string{"api-approved.kubernetes.io": "unapproved, test-only"},
    				},
    				Spec: apiextensionsv1.CustomResourceDefinitionSpec{
    					Group: "test.apiextensions-apiserver.k8s.io",
    					Versions: []apiextensionsv1.CustomResourceDefinitionVersion{
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go

    	// The value should be a link to a URL where the current spec was approved, so updates to the spec should also update the URL.
    	// If the API is unapproved, you may set the annotation to a string starting with `"unapproved"`.  For instance, `"unapproved, temporarily squatting"` or `"unapproved, experimental-only"`.  This is discouraged.
    	KubeAPIApprovedAnnotation = "api-approved.kubernetes.io"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types.go

    	// The value should be a link to a URL where the current spec was approved, so updates to the spec should also update the URL.
    	// If the API is unapproved, you may set the annotation to a string starting with `"unapproved"`.  For instance, `"unapproved, temporarily squatting"` or `"unapproved, experimental-only"`.  This is discouraged.
    	KubeAPIApprovedAnnotation = "api-approved.kubernetes.io"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. pkg/controller/certificates/signer/signer.go

    		signerName:           signerName,
    		isRequestForSignerFn: isRequestForSignerFn,
    	}
    	return ret, nil
    }
    
    func (s *signer) handle(ctx context.Context, csr *capi.CertificateSigningRequest) error {
    	// Ignore unapproved or failed requests
    	if !certificates.IsCertificateRequestApproved(csr) || certificates.HasTrueCondition(csr, capi.CertificateFailed) {
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. .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)
  10. staging/src/k8s.io/api/certificates/v1/types_swagger_doc_generated.go

    	"status":             "status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\".",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top