Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for clusterScope (0.22 sec)

  1. pilot/pkg/model/sidecar_test.go

    		{"Wrong Namespace", []string{"ns/*"}, allContains("other-ns", false)},
    		{"No Sidecar", nil, allContains("ns", true)},
    		{"No Sidecar Other Namespace", nil, allContains("other-ns", false)},
    		{"clusterScope resource", []string{"*/*"}, map[ConfigKey]bool{
    			{kind.AuthorizationPolicy, "authz", "default"}: true,
    		}},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			cfg := &config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    				preserveUnknownFields: crd.Spec.PreserveUnknownFields,
    			},
    			crd.Status.AcceptedNames.Categories,
    			table,
    			replicasPathInCustomResource,
    		)
    
    		clusterScoped := crd.Spec.Scope == apiextensionsv1.ClusterScoped
    
    		// CRDs explicitly do not support protobuf, but some objects returned by the API server do
    		negotiatedSerializer := unstructuredNegotiatedSerializer{
    			typer:                 typer,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    			resourceParams = nameParams
    		}
    		apiResource.Name = path
    		apiResource.Namespaced = false
    		apiResource.Kind = resourceKind
    		namer := handlers.ContextBasedNaming{
    			Namer:         a.group.Namer,
    			ClusterScoped: true,
    		}
    
    		// Handler for standard REST verbs (GET, PUT, POST and DELETE).
    		// Add actions at the resource path: /api/apiVersion/resource
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    						// SKip invalid configuration
    						continue
    					}
    
    					for _, denyNotFound := range []bool{false, true} {
    
    						name := "ParamRef"
    
    						if paramIsClusterScoped {
    							name = "ClusterScoped" + name
    						}
    
    						if nameIsSet {
    							name = name + "WithName"
    						} else if selectorIsSet {
    							name = name + "WithLabelSelector"
    						} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    	}
    
    	allErrs = append(allErrs, validateEnumStrings(fldPath.Child("scope"), string(spec.Scope), []string{string(apiextensions.ClusterScoped), string(apiextensions.NamespaceScoped)}, true)...)
    
    	// enabling pruning requires structural schemas
    	if spec.PreserveUnknownFields == nil || *spec.PreserveUnknownFields == false {
    		opts.requireStructuralSchema = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
Back to top