Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for outboundTrafficPolicy (0.32 sec)

  1. pilot/pkg/networking/core/listener_builder.go

    		// no need to check for nil value as the previous if check has checked
    		if node.SidecarScope.OutboundTrafficPolicy.EgressProxy != nil {
    			// user has provided an explicit destination for all the unknown traffic.
    			// build a cluster out of this destination
    			egressCluster = istio_route.GetDestinationCluster(node.SidecarScope.OutboundTrafficPolicy.EgressProxy,
    				nil, 0)
    		}
    	} else {
    		egressCluster = util.BlackHoleCluster
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. pilot/pkg/model/push_context_test.go

    			{
    				Hosts: []string{"default/*"},
    			},
    		},
    		OutboundTrafficPolicy: &networking.OutboundTrafficPolicy{},
    	}
    	sidecarWithoutWorkloadSelector := &networking.Sidecar{
    		Egress: []*networking.IstioEgressListener{
    			{
    				Hosts: []string{"default/*"},
    			},
    		},
    		OutboundTrafficPolicy: &networking.OutboundTrafficPolicy{},
    	}
    	configWithWorkloadSelector := config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  3. pkg/config/validation/validation_test.go

    			OutboundTrafficPolicy: &networking.OutboundTrafficPolicy{
    				Mode: networking.OutboundTrafficPolicy_ALLOW_ANY,
    			},
    			Egress: []*networking.IstioEgressListener{
    				{
    					Hosts: []string{"*/*"},
    				},
    			},
    		}, true, false},
    		{"sidecar egress proxy with RESGISTRY_ONLY(default)", &networking.Sidecar{
    			OutboundTrafficPolicy: &networking.OutboundTrafficPolicy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  4. tests/integration/pilot/multiplecontrolplanes/main_test.go

    			cfg.ControlPlaneValues = fmt.Sprintf(`
    namespace: %s
    revision: usergroup-1
    meshConfig:
      # REGISTRY_ONLY on one control plane is used to verify custom resources scoping
      outboundTrafficPolicy:
        mode: REGISTRY_ONLY
      # CR scoping requires discoverySelectors to be configured
      discoverySelectors:
        - matchLabels:
            usergroup: usergroup-1
    values:
      global:
        istioNamespace: %s`,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. pkg/config/mesh/mesh_test.go

          clusterLocal: true
        host:
          - "*.myns.svc.cluster.local"
    ingressClass: foo
    enableTracing: false
    trustDomainAliases: ["default", "both"]
    defaultServiceExportTo: 
    - "foo"
    outboundTrafficPolicy:
      mode: REGISTRY_ONLY
    clusterLocalNamespaces: 
    - "foons"
    defaultProviders:
      tracing: [foo]
    extensionProviders:
    - name: sd
      stackdriver: {}
    defaultConfig:
      tracing: {}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. pilot/pkg/networking/util/util.go

    }
    
    // IsAllowAnyOutbound checks if allow_any is enabled for outbound traffic
    func IsAllowAnyOutbound(node *model.Proxy) bool {
    	return node.SidecarScope != nil &&
    		node.SidecarScope.OutboundTrafficPolicy != nil &&
    		node.SidecarScope.OutboundTrafficPolicy.Mode == networking.OutboundTrafficPolicy_ALLOW_ANY
    }
    
    func StringToExactMatch(in []string) []*matcher.StringMatcher {
    	return pm.StringToExactMatch(in)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. pkg/config/mesh/mesh.go

    		IngressClass:                "istio",
    		TrustDomain:                 constants.DefaultClusterLocalDomain,
    		TrustDomainAliases:          []string{},
    		EnableAutoMtls:              wrappers.Bool(true),
    		OutboundTrafficPolicy:       &meshconfig.MeshConfig_OutboundTrafficPolicy{Mode: meshconfig.MeshConfig_OutboundTrafficPolicy_ALLOW_ANY},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. pilot/pkg/xds/xds_test.go

      endpoints:
      - address: 10.10.10.20
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: sidecar-with-egressproxy
      namespace: app
    spec:
      outboundTrafficPolicy:
        mode: ALLOW_ANY
        egressProxy:
          host: foo.bar
          subset: shiny
          port:
            number: 5000
      egress:
      - hosts:
        - "*/*"
    `,
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. tests/integration/telemetry/policy/helper_test.go

    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: restrict-to-service-entry-namespace
    spec:
      egress:
      - hosts:
        - "{{.ImportNamespace}}/*"
        - "istio-system/*"
      outboundTrafficPolicy:
        mode: "{{.TrafficPolicyMode}}"
    `
    
    	Gateway = `
    apiVersion: networking.istio.io/v1alpha3
    kind: Gateway
    metadata:
      name: istio-egressgateway
    spec:
      selector:
        istio: egressgateway
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. tests/integration/pilot/common/routing.go

    	// Let us enable outboundTrafficPolicy REGISTRY_ONLY
    	// on one of the workloads, to verify selective external connectivity
    	SidecarScope := fmt.Sprintf(`apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: restrict-external-service
      namespace: %s
    spec:
      workloadSelector:
        labels:
          app: a
      outboundTrafficPolicy:
        mode: "REGISTRY_ONLY"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
Back to top