Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 225 for destinationFile (0.2 sec)

  1. pilot/pkg/networking/core/tunnelingconfig/apply.go

    )
    
    type ApplyFunc = func(tcpProxy *tcp.TcpProxy, destinationRule *networking.DestinationRule, subsetName string)
    
    // Apply configures tunneling_config in a given TcpProxy depending on the destination rule and the destination hosts
    var Apply ApplyFunc = func(tcpProxy *tcp.TcpProxy, destinationRule *networking.DestinationRule, subsetName string) {
    	var tunnelSettings *networking.TrafficPolicy_TunnelSettings
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. tests/integration/security/ca_custom_root/secure_naming_test.go

    						name            string
    						destinationRule string
    						expectSuccess   bool
    					}{
    						{
    							name:            "connection fails when DR doesn't match SA",
    							destinationRule: defaultIdentityDR,
    							expectSuccess:   false,
    						},
    						{
    							name:            "connection succeeds when DR matches SA",
    							destinationRule: correctIdentityDR,
    							expectSuccess:   true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. samples/bookinfo/networking/destination-rule-all.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: productpage
    spec:
      host: productpage
      subsets:
      - name: v1
        labels:
          version: v1
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: reviews
    spec:
      host: reviews
      subsets:
      - name: v1
        labels:
          version: v1
      - name: v2
        labels:
          version: v2
      - name: v3
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 09 23:15:58 UTC 2018
    - 972 bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/analyzers_test.go

    			"testdata/destinationrule-mutual-destination.yaml",
    		},
    		analyzer: &destinationrule.CaCertificateAnalyzer{},
    		expected: []message{
    			{msg.NoServerCertificateVerificationDestinationLevel, "DestinationRule db-mtls"},
    		},
    	},
    	{
    		name: "destinationrule with no cacert, simple at portlevel",
    		inputFiles: []string{
    			"testdata/destinationrule-simple-port.yaml",
    		},
    		analyzer: &destinationrule.CaCertificateAnalyzer{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. pilot/pkg/model/typed_xds_cache_test.go

    	firstEntry := entry{
    		key:            "key1",
    		dependentTypes: []kind.Kind{kind.Service, kind.DestinationRule},
    		dependentConfigs: []ConfigHash{
    			ConfigKey{Kind: kind.Service, Name: "name", Namespace: "namespace"}.HashCode(),
    			ConfigKey{Kind: kind.DestinationRule, Name: "name", Namespace: "namespace"}.HashCode(),
    		},
    	}
    
    	c := newTypedXdsCache[uint64]()
    
    	cache := c.(*lruCache[uint64])
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 29 20:35:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_cache.go

    	return h.Sum64()
    }
    
    func (t *clusterCache) DependentConfigs() []model.ConfigHash {
    	drs := t.destinationRule.GetFrom()
    	configs := make([]model.ConfigHash, 0, len(drs)+1+len(t.envoyFilterKeys))
    	if t.destinationRule != nil {
    		for _, dr := range drs {
    			configs = append(configs, model.ConfigKey{Kind: kind.DestinationRule, Name: dr.Name, Namespace: dr.Namespace}.HashCode())
    		}
    	}
    	if t.service != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_builder.go

    	cfg := proxy.SidecarScope.DestinationRule(model.TrafficDirectionInbound, proxy, instance.Service.Hostname).GetRule()
    	if cfg != nil {
    		destinationRule := CastDestinationRule(cfg)
    		opts.isDrWithSelector = destinationRule.GetWorkloadSelector() != nil
    		if destinationRule.TrafficPolicy != nil {
    			opts.policy, _ = util.GetPortLevelTrafficPolicy(destinationRule.TrafficPolicy, instance.Port.ServicePort)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  8. pkg/config/schema/kind/resources.gen.go

    	case CustomResourceDefinition:
    		return "CustomResourceDefinition"
    	case DNSName:
    		return "DNSName"
    	case DaemonSet:
    		return "DaemonSet"
    	case Deployment:
    		return "Deployment"
    	case DestinationRule:
    		return "DestinationRule"
    	case EndpointSlice:
    		return "EndpointSlice"
    	case Endpoints:
    		return "Endpoints"
    	case EnvoyFilter:
    		return "EnvoyFilter"
    	case GRPCRoute:
    		return "GRPCRoute"
    	case Gateway:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe_test.go

    										},
    										Weight: 50,
    									},
    								},
    							},
    						},
    					},
    				},
    				&v1alpha3.DestinationRule{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "productpage",
    						Namespace: "default",
    					},
    					Spec: v1alpha32.DestinationRule{
    						Host: "productpage",
    						Subsets: []*v1alpha32.Subset{
    							{
    								Name:   "v1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/virtualservice/destinationrules.go

    	}
    
    	return false
    }
    
    func initDestHostsAndSubsets(ctx analysis.Context) map[hostAndSubset]bool {
    	hostsAndSubsets := make(map[hostAndSubset]bool)
    	ctx.ForEach(gvk.DestinationRule, func(r *resource.Instance) bool {
    		dr := r.Message.(*v1alpha3.DestinationRule)
    		drNamespace := r.Metadata.FullName.Namespace
    
    		for _, ss := range dr.GetSubsets() {
    			hs := hostAndSubset{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 15:18:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top