Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for CustomResource (0.15 sec)

  1. tests/integration/pilot/multiplecontrolplanes/main_test.go

    							ServicePort: 80,
    						},
    						Check: check.And(
    							check.ErrorOrStatus(tc.statusCode),
    						),
    					})
    				})
    			}
    		})
    }
    
    // TestCustomResourceScoping sets up a CustomResource and verifies that the configuration is not leaked to namespaces owned by a different control plane
    func TestCustomResourceScoping(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/subresources_test.go

    	obj, err = noxuResourceClient.Create(context.TODO(), obj, metav1.CreateOptions{})
    	if err != nil {
    		t.Logf("%#v", obj)
    		t.Fatalf("Failed to create CustomResource: %v", err)
    	}
    
    	noxuResourceClient = newNamespacedCustomResourceVersionedClient(ns, dynamicClient, noxuDefinition, "v1")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 12 17:35:34 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. pilot/pkg/features/experimental.go

    	EnableEnhancedResourceScoping = env.Register("ENABLE_ENHANCED_RESOURCE_SCOPING", true,
    		"If enabled, meshConfig.discoverySelectors will limit the CustomResource configurations(like Gateway,VirtualService,DestinationRule,Ingress, etc)"+
    			"that can be processed by pilot. This will also restrict the root-ca certificate distribution.").Get()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. operator/pkg/object/objects.go

    	var ret K8sObjects
    	for _, o := range objs {
    		if o.Kind == kind {
    			ret = append(ret, o)
    		}
    	}
    	return ret
    }
    
    // ParseK8SYAMLToIstioOperator parses a IstioOperator CustomResource YAML string and unmarshals in into
    // an IstioOperatorSpec object. It returns the object and an API group/version with it.
    func ParseK8SYAMLToIstioOperator(yml string) (*v1alpha1.IstioOperator, *schema.GroupVersionKind, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/pruning_test.go

    	val, _ := json.Marshal(original.UnstructuredContent())
    	if _, err := etcdclient.Put(ctx, key, string(val)); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	t.Logf("Checking that CustomResource is pruned from unknown fields")
    	fooClient := dynamicClient.Resource(schema.GroupVersionResource{Group: crd.Spec.Group, Version: crd.Spec.Versions[0].Name, Resource: crd.Spec.Names.Plural})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    	"k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset"
    	"k8s.io/apiextensions-apiserver/pkg/features"
    	"k8s.io/apiextensions-apiserver/pkg/registry/customresource"
    	"k8s.io/apiextensions-apiserver/test/integration/fixtures"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  7. plugin/pkg/admission/serviceaccount/admission_test.go

    		}
    	}
    }
    
    func TestIgnoresNonPodResource(t *testing.T) {
    	pod := &api.Pod{}
    	attrs := admission.NewAttributesRecord(pod, nil, api.Kind("Pod").WithVersion("version"), "myns", "myname", api.Resource("CustomResource").WithVersion("version"), "", admission.Create, &metav1.CreateOptions{}, false, nil)
    	handler := admissiontesting.WithReinvocationTesting(t, NewServiceAccount())
    	err := handler.Admit(context.TODO(), attrs, nil)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go

    }
    
    // CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources.
    // Status is represented by the `.status` JSON path inside of a CustomResource. When set,
    // * exposes a /status subresource for the custom resource
    // * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types.go

    }
    
    // CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources.
    // Status is represented by the `.status` JSON path inside of a CustomResource. When set,
    // * exposes a /status subresource for the custom resource
    // * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

      optional string labelSelectorPath = 3;
    }
    
    // CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources.
    // Status is represented by the `.status` JSON path inside of a CustomResource. When set,
    // * exposes a /status subresource for the custom resource
    // * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top