Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CreateCRDUsingRemovedAPI (0.56 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/etcd.go

    	"k8s.io/client-go/dynamic"
    )
    
    // CreateCRDUsingRemovedAPI creates a CRD directly using etcd.  This is must *ONLY* be used for checks of compatibility
    // with removed data.  Do not use this just because you don't want to update your test to use v1.  Only use this
    // when it actually matters.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 15 13:53:06 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/versioning_test.go

    	_, err = noxuNamespacedResourceClientV1beta1.Create(context.TODO(), noxuInstanceToCreate, metav1.CreateOptions{})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// update validation via update because the cache priming in CreateCRDUsingRemovedAPI will fail otherwise
    	t.Logf("Updating CRD to validate apiVersion")
    	noxuDefinition, err = UpdateCustomResourceDefinitionWithRetry(apiExtensionClient, noxuDefinition.Name, func(crd *apiextensionsv1.CustomResourceDefinition) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 05 13:10:47 UTC 2021
    - 8.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/resources.go

    		}
    	}
    	return false, nil
    }
    
    // waitForCRDReadyWatchUnsafe creates the CRD and makes sure
    // the apiextension apiserver has installed the CRD. But it's not safe to watch
    // the created CR. Please call CreateCRDUsingRemovedAPI if you need to
    // watch the CR.
    func waitForCRDReadyWatchUnsafe(crd *apiextensionsv1.CustomResourceDefinition, apiExtensionsClient clientset.Interface) (*apiextensionsv1.CustomResourceDefinition, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 02:01:40 UTC 2021
    - 21.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/validation_test.go

    			"a": {
    				Type: "object",
    			},
    		},
    	}
    
    	// create CRDs.  We cannot create these in v1, but they can exist in upgraded clusters
    	t.Logf("Creating CRD %s", betaCRD.Name)
    	if _, err := fixtures.CreateCRDUsingRemovedAPI(etcdclient, etcdStoragePrefix, betaCRD, apiExtensionClient, dynamicClient); err != nil {
    		t.Fatal(err)
    	}
    
    	// wait for condition with violations
    	t.Log("Waiting for NonStructuralSchema condition")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 26 20:48:36 UTC 2021
    - 63.6K bytes
    - Viewed (0)
Back to top