Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,558 for Patches (0.2 sec)

  1. pkg/controller/statefulset/stateful_set_utils.go

    	clone := set.DeepCopy()
    	patched, err := strategicpatch.StrategicMergePatch([]byte(runtime.EncodeOrDie(patchCodec, clone)), revision.Data.Raw, clone)
    	if err != nil {
    		return nil, err
    	}
    	restoredSet := &apps.StatefulSet{}
    	err = json.Unmarshal(patched, restoredSet)
    	if err != nil {
    		return nil, err
    	}
    	return restoredSet, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest_shared_test.go

    }
    
    var interceptorFunc = interceptor.Funcs{Patch: func(
    	ctx context.Context,
    	clnt client.WithWatch,
    	obj client.Object,
    	patch client.Patch,
    	opts ...client.PatchOption,
    ) error {
    	// Apply patches are supposed to upsert, but fake client fails if the object doesn't exist,
    	// if an apply patch occurs for an object that doesn't yet exist, create it.
    	if patch.Type() != types.ApplyPatchType {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. 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)
  4. cmd/kubeadm/app/phases/upgrade/staticpods.go

    	MoveFile(oldPath, newPath string) error
    	// KubernetesDir is the directory Kubernetes owns for storing various configuration files
    	KubernetesDir() string
    	// PatchesDir should point to the folder where patches for components are stored
    	PatchesDir() string
    	// RealManifestPath gets the file path for the component in the "real" static pod manifest directory used by the kubelet
    	RealManifestPath(component string) string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. pkg/scheduler/util/utils_test.go

    						Status: v1.ConditionFalse,
    					},
    				},
    			},
    		},
    		{
    			// ref: #101697, #94626 - ImagePullSecrets are allowed to have empty secret names
    			// which would fail the 2-way merge patch generation on Pod patches
    			// due to the mergeKey being the name field
    			name:   "Should update pod conditions successfully on a pod Spec with secrets with empty name",
    			client: clientsetfake.NewSimpleClientset(),
    			pod: v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 01:40:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * The option of a Java command-line tool where to place the paths to some dependencies.
     * A {@code PathType} can identify the class-path, the module-path, the patches for a specific module,
     * or another kind of path.
     *
     * <p>One path type is handled in a special way: unlike other options,
     * the paths specified in a {@code --patch-module} Java option is effective only for a specified module.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. pilot/pkg/xds/workload_test.go

    			9080: {
    				Mode: v1beta1.PeerAuthentication_MutualTLS_STRICT,
    			},
    		},
    		Selector: &metav1beta1.WorkloadSelector{
    			MatchLabels: map[string]string{
    				"app": "sa", // This patches the pod we will create
    			},
    		},
    	})
    	expect(ads.ExpectResponse(), "ns/converted_peer_authentication_policy2")
    
    	// We expect a removal because the policy was deleted
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/accesslog_test.go

                      envoyproxy_authority: '%REQ(:AUTHORITY)%'
    `,
    	})
    
    	proxy := cg.SetupProxy(nil)
    	l1 := cg.Listeners(proxy)
    	l2 := cg.Listeners(proxy)
    	// Make sure it doesn't change between patches
    	if d := cmp.Diff(l1, l2, protocmp.Transform()); d != "" {
    		t.Fatal(d)
    	}
    	// Make sure we have exactly 1 access log
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

      cloned.setName(
          StringAttr::get(func.getContext(), func.getName().str() + "_lifted"));
      SymbolTable(module).insert(cloned);
      return cloned;
    }
    
    // Eliminates unused results for If/Case operations. Also patches up the
    // branch functions to (a) drop the ununsed return values, and (b) as a result
    // if some argument becomes unused in all branches, drop that argument and the
    // corresponding if/case input operand.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    const (
    	// PatchAuditAnnotationPrefix is a prefix for persisting webhook patch in audit annotation.
    	// Audit handler decides whether annotation with this prefix should be logged based on audit level.
    	// Since mutating webhook patches the request body, audit level must be greater or equal to Request
    	// for the annotation to be logged
    	PatchAuditAnnotationPrefix = "patch.webhook.admission.k8s.io/"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top