Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Annotation (0.22 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    )
    
    var (
    	includeIPCidrsKey       = annotation.SidecarTrafficIncludeOutboundIPRanges.Name
    	excludeIPCidrsKey       = annotation.SidecarTrafficExcludeOutboundIPRanges.Name
    	excludeInboundPortsKey  = annotation.SidecarTrafficExcludeInboundPorts.Name
    	includeInboundPortsKey  = annotation.SidecarTrafficIncludeInboundPorts.Name
    	excludeOutboundPortsKey = annotation.SidecarTrafficExcludeOutboundPorts.Name
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. istioctl/pkg/injector/injector-list_test.go

    			expectedRevision: "",
    		},
    		{
    			name: "has rev annotation",
    			pod: &corev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Annotations: map[string]string{
    						annotation.SidecarStatus.Name: `{"revision": "test-anno"}`,
    					},
    				},
    			},
    			expectedRevision: "test-anno",
    		},
    		{
    			name: "has both rev label and annotation, use label",
    			pod: &corev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/server_test.go

    	}
    
    	// pod is not in fake client, so if this will try to remove annotation, it will fail.
    	err := m.DelPodFromMesh(fakeCtx, pod)
    	assert.Error(t, err)
    }
    
    func podWithAnnotation() *corev1.Pod {
    	return &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    			UID:       types.UID("test"),
    			Annotations: map[string]string{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    				" --annotations annotation=foobar --ports grpc=3550,http=8080 --serviceAccount test", " "),
    			expectedException: false,
    			expectedOutput:    customYAML,
    		},
    		{
    			description: "valid case - create full workload group with shortnames",
    			args: strings.Split("group create --name foo -n bar -l app=foo,bar=baz -p grpc=3550,http=8080"+
    				" -a annotation=foobar --serviceAccount test", " "),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. internal/s3select/parquet/reader.go

    	}
    	dstRec.SelectFormat = sql.SelectFmtParquet
    	dstRec.KVS = kvs
    	return dstRec, nil
    }
    
    // convertFromAnnotation - converts values based on the Parquet column's type
    // annotations. LogicalType annotations if present override the deprecated
    // ConvertedType annotations. Ref:
    // https://github.com/apache/parquet-format/blob/master/LogicalTypes.md
    func convertFromAnnotation(se *parquettypes.SchemaElement, v interface{}) (interface{}, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_test.go

    	pod.Spec.Containers = []corev1.Container{app, proxy}
    	pod.ObjectMeta.Annotations = map[string]string{annotation.SidecarStatus.Name: "true"}
    	ns.ObjectMeta.Labels = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient}
    
    	testDoAddRun(t, cniConf, testNSName, pod, ns)
    
    	wasCalled := serverClose()
    	// Pod has sidecar annotation from injector, should not be added to mesh
    	assert.Equal(t, wasCalled, false)
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. cni/pkg/cmd/root.go

    	registerStringParameter(constants.RepairSidecarAnnotation, "sidecar.istio.io/status",
    		"An annotation key that indicates this pod contains an istio sidecar. All pods without this annotation will be ignored."+
    			"The value of the annotation is ignored.")
    	registerStringParameter(constants.RepairInitContainerName, "istio-validation",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  8. istioctl/pkg/workload/workload.go

    	proxyMetadata := meshConfig.DefaultConfig.ProxyMetadata
    
    	// support proxy.istio.io/config on the WorkloadGroup, in the WorkloadGroup spec
    	for _, annotations := range []map[string]string{wg.Annotations, wg.Spec.Metadata.Annotations} {
    		if pcYaml, ok := annotations[annotation.ProxyConfig.Name]; ok {
    			if err := protomarshal.ApplyYAML(pcYaml, meshConfig.DefaultConfig); err != nil {
    				return nil, err
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/server.go

    	err := s.netServer.RemovePodFromMesh(ctx, pod)
    	if err != nil {
    		log.Errorf("failed to remove pod from mesh: %v", err)
    		return err
    	}
    	log.Debug("removing annotation from pod")
    	err = util.AnnotateUnenrollPod(s.kubeClient, &pod.ObjectMeta)
    	if err != nil {
    		log.Errorf("failed to annotate pod unenrollment: %v", err)
    	}
    	return err
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. istioctl/pkg/injector/injector-list.go

    	"github.com/spf13/cobra"
    	admitv1 "k8s.io/api/admissionregistration/v1"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	api_pkg_labels "k8s.io/apimachinery/pkg/labels"
    
    	"istio.io/api/annotation"
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/describe"
    	"istio.io/istio/istioctl/pkg/util/ambient"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top