Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,005 for patched (0.17 sec)

  1. tests/integration/pilot/webhook_test.go

    			return fmt.Errorf("webhook #%v: wrong failure policy. c %v wanted %v",
    				i, *wh.FailurePolicy, kubeApiAdmission.Fail)
    		}
    		if len(wh.ClientConfig.CABundle) == 0 {
    			return fmt.Errorf("webhook #%v: caBundle not patched", i)
    		}
    	}
    	return nil
    }
    
    func verifyRejectsInvalidConfig(t framework.TestContext, configRevision string, shouldReject bool) {
    	t.Helper()
    	const istioNamespace = "istio-system"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 01 13:31:34 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_get_patch.txt

    # patched versions result in a higher-than-patch upgrade.
    
    cp go.mod.orig go.mod
    ! go get -u=patch all
    stderr '^go: example.net/a@v0.1.1 \(matching all@patch\) requires example.net/b@v0.2.0, not example.net/b@v0.1.1 \(matching all@patch\)$'
    cmp go.mod go.mod.orig
    
    
    # On the other hand, "-u=patch ./..." should patch-upgrade dependencies until
    # they reach a fixed point, even if that results in higher-than-patch upgrades.
    
    go get -u=patch ./...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  3. pkg/webhooks/webhookpatch.go

    // WebhookCertPatcher listens for webhooks on specified revision and patches their CA bundles
    type WebhookCertPatcher struct {
    	// revision to patch webhooks for
    	revision    string
    	webhookName string
    
    	queue controllers.Queue
    
    	// File path to the x509 certificate bundle used by the webhook server
    	// and patched into the webhook config.
    	CABundleWatcher *keycertbundle.Watcher
    
    	webhooks kclient.Client[*v1.MutatingWebhookConfiguration]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 28 00:36:38 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/etcd/local_test.go

    		return
    	}
    	if pod.Spec.DNSPolicy != "" {
    		t.Errorf("DNSPolicy should be empty but: %v", pod.Spec.DNSPolicy)
    	}
    
    	if _, ok := pod.ObjectMeta.Annotations["patched"]; !ok {
    		t.Errorf("Patches were not applied to %s", kubeadmconstants.Etcd)
    	}
    }
    
    func TestGetEtcdCommand(t *testing.T) {
    	var tests = []struct {
    		name             string
    		advertiseAddress string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/staticpod/utils.go

    	if err != nil {
    		return pod, errors.Wrapf(err, "failed to marshal Pod manifest to YAML")
    	}
    
    	patchManager, err := patches.GetPatchManagerForPath(patchesDir, patches.KnownTargets(), output)
    	if err != nil {
    		return pod, err
    	}
    
    	patchTarget := &patches.PatchTarget{
    		Name:                      pod.Name,
    		StrategicMergePatchObject: v1.Pod{},
    		Data:                      podYAML,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. pkg/kube/inject/webhook.go

    		return nil, fmt.Errorf("failed to process pod: %v", err)
    	}
    
    	patch, err := createPatch(mergedPod, originalPodSpec)
    	if err != nil {
    		return nil, fmt.Errorf("failed to create patch: %v", err)
    	}
    
    	log.Debugf("AdmissionResponse: patch=%v\n", string(patch))
    	return patch, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/table_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	crd, err = apiExtensionClient.ApiextensionsV1().CustomResourceDefinitions().Get(context.TODO(), crd.Name, metav1.GetOptions{})
    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Logf("columns crd patched: %#v", crd)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 18.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/fake/fake_customresourcedefinition.go

    	_, err := c.Fake.Invokes(action, &v1.CustomResourceDefinitionList{})
    	return err
    }
    
    // Patch applies the patch and returns the patched customResourceDefinition.
    func (c *FakeCustomResourceDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CustomResourceDefinition, err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/execution/JavaModuleExecutionIntegrationTest.groovy

        }
    
        // This test demonstrated the current behavior for how a module compilation of sources in one 'source directory set' and be patched with the result of another.
        // If we add higher level modeling concepts for the relationship between the compile steps on one source set, the '--patch-module' arguments could maybe be derived automatically.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/fake/fake_example.go

    	action := testing.NewDeleteCollectionAction(examplesResource, c.ns, listOpts)
    
    	_, err := c.Fake.Invokes(action, &v1.ExampleList{})
    	return err
    }
    
    // Patch applies the patch and returns the patched example.
    func (c *FakeExamples) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Example, err error) {
    	emptyResult := &v1.Example{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top