Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for patch (0.36 sec)

  1. cni/pkg/nodeagent/informers_test.go

    	mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(4))
    
    	waitForMockCalls()
    
    	assertPodNotAnnotated(t, client, pod)
    
    	// patch a test label to emulate a POD update event
    	_, err = client.Kube().CoreV1().Pods(pod.Namespace).Patch(ctx, pod.Name,
    		types.MergePatchType, []byte(`{"metadata":{"labels":{"test":"update"}}}`), metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	// wait for an update events
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  2. manifests/charts/istiod-remote/templates/default.yaml

        # Disable webhook controller in Pilot to stop patching it
        failurePolicy: Fail
        {{- else }}
        # Fail open until the validation webhook is ready. The webhook controller
        # will update this to `Fail` and patch in the `caBundle` when the webhook
        # endpoint is ready.
        failurePolicy: Ignore
        {{- end }}
        sideEffects: None
        admissionReviewVersions: ["v1beta1", "v1"]
    {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  3. cni/pkg/util/podutil.go

    	return pod.Namespace == systemNs && pod.GetLabels()["app"] == "ztunnel"
    }
    
    func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error {
    	_, err := client.CoreV1().
    		Pods(pod.Namespace).
    		Patch(
    			context.Background(),
    			pod.Name,
    			types.MergePatchType,
    			annotationPatch,
    			metav1.PatchOptions{},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. manifests/charts/base/templates/default.yaml

        # Disable webhook controller in Pilot to stop patching it
        failurePolicy: Fail
        {{- else }}
        # Fail open until the validation webhook is ready. The webhook controller
        # will update this to `Fail` and patch in the `caBundle` when the webhook
        # endpoint is ready.
        failurePolicy: Ignore
        {{- end }}
        sideEffects: None
        admissionReviewVersions: ["v1beta1", "v1"]
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/templates/validatingwebhookconfiguration.yaml

        # Disable webhook controller in Pilot to stop patching it
        failurePolicy: Fail
        {{- else }}
        # Fail open until the validation webhook is ready. The webhook controller
        # will update this to `Fail` and patch in the `caBundle` when the webhook
        # endpoint is ready.
        failurePolicy: Ignore
        {{- end }}
        sideEffects: None
        admissionReviewVersions: ["v1beta1", "v1"]
        objectSelector:
          matchExpressions:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. istioctl/pkg/waypoint/waypoint.go

    			}
    			gwc := kubeClient.GatewayAPI().GatewayV1().Gateways(ctx.NamespaceOrDefault(ctx.Namespace()))
    			b, err := yaml.Marshal(gw)
    			if err != nil {
    				return err
    			}
    			_, err = gwc.Patch(context.Background(), gw.Name, types.ApplyPatchType, b, metav1.PatchOptions{
    				Force:        nil,
    				FieldManager: "istioctl",
    			})
    			if err != nil {
    				if errors.IsNotFound(err) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  7. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                              uri:
                                description: 'URI to match values are case-sensitive and
                                  formatted as follows: - `exact: "value"` for exact string
                                  match - `prefix: "value"` for prefix-based match - `regex:
                                  "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
                                oneOf:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  8. manifests/charts/istio-cni/templates/clusterrole.yaml

        operator.istio.io/component: "Cni"
    rules:
      - apiGroups: [""]
        resources: ["events"]
        verbs: ["create", "patch"]
      - apiGroups: [""]
        resources: ["pods"]
        verbs: ["watch", "get", "list"]
    {{- if .Values.cni.repair.repairPods }}
    {{- /*  No privileges needed*/}}
    {{- else if .Values.cni.repair.deletePods }}
      - apiGroups: [""]
        resources: ["pods"]
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat May 04 01:55:56 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. manifests/charts/base/crds/crd-all.gen.yaml

                              uri:
                                description: 'URI to match values are case-sensitive and
                                  formatted as follows: - `exact: "value"` for exact string
                                  match - `prefix: "value"` for prefix-based match - `regex:
                                  "value"` for RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).'
                                oneOf:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/cni-watcher_test.go

    	// label the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`,
    		constants.DataplaneModeLabel, constants.DataplaneModeAmbient))
    	_, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	client.RunAndWait(ctx.Done())
    
    	payload, _ := json.Marshal(valid)
    
    	// serialize our fake plugin event
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top