Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for DR (0.05 sec)

  1. pilot/pkg/xds/endpoints/endpoint_builder.go

    		}
    	}
    }
    
    func (b *EndpointBuilder) DestinationRule() *v1alpha3.DestinationRule {
    	if dr := b.destinationRule.GetRule(); dr != nil {
    		dr, _ := dr.Spec.(*v1alpha3.DestinationRule)
    		return dr
    	}
    	return nil
    }
    
    func (b *EndpointBuilder) Type() string {
    	return model.EDSType
    }
    
    func (b *EndpointBuilder) ServiceFound() bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. tests/integration/security/reachability_test.go

    			}{
    				{
    					name: "global mtls strict",
    					configs: config.Sources{
    						config.File("testdata/reachability/global-peer-authn.yaml.tmpl"),
    						config.File("testdata/reachability/global-dr.yaml.tmpl"),
    					}.WithParams(param.Params{
    						mtlsModeParam:            model.MTLSStrict.String(),
    						tlsModeParam:             "ISTIO_MUTUAL",
    						param.Namespace.String(): systemNS,
    					}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. istioctl/pkg/precheck/precheck.go

    			return false
    		}
    		return tls.Sni == ""
    	}
    	for _, dr := range drs.Items {
    		verificationImpacted := false
    		sniImpacted := false
    		verificationImpacted = verificationImpacted || checkVerify(dr.Spec.GetTrafficPolicy().GetTls())
    		sniImpacted = sniImpacted || checkSNI(dr.Spec.GetTrafficPolicy().GetTls())
    		for _, pl := range dr.Spec.GetTrafficPolicy().GetPortLevelSettings() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 02:57:30 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. pilot/pkg/model/sidecar.go

    	// this config namespace) will see, identify all the destinationRules
    	// that these services need
    	for _, s := range out.services {
    		if dr := ps.destinationRule(configNamespace, s); dr != nil {
    			out.destinationRules[s.Hostname] = dr
    			for _, cdr := range dr {
    				for _, from := range cdr.from {
    					out.destinationRulesByNames[from] = cdr.rule
    				}
    			}
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  5. pkg/kube/client.go

    		}
    		// namespaced resources should specify the namespace
    		dr = c.dynamic.Resource(mapping.Resource).Namespace(ns)
    	} else {
    		// for cluster-wide resources
    		dr = c.dynamic.Resource(mapping.Resource)
    	}
    	return obj, dr, nil
    }
    
    // IstioScheme returns a scheme will all known Istio-related types added
    var (
    	IstioScheme = istioScheme()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster.go

    			return nil, nil
    		}
    		dr := prevCfg.Spec.(*networking.DestinationRule)
    		services = append(services, proxy.SidecarScope.ServicesForHostname(host.Name(dr.Host))...)
    	} else {
    		dr := cfg.Spec.(*networking.DestinationRule)
    		// Destinationrule was updated. Find matching services from updated destinationrule.
    		services = append(services, proxy.SidecarScope.ServicesForHostname(host.Name(dr.Host))...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go

    		mesh     *networking.LocalityLoadBalancerSetting
    		dr       *networking.LocalityLoadBalancerSetting
    		expected *networking.LocalityLoadBalancerSetting
    	}{
    		{
    			"all disabled",
    			nil,
    			nil,
    			nil,
    		},
    		{
    			"mesh only",
    			&networking.LocalityLoadBalancerSetting{},
    			nil,
    			&networking.LocalityLoadBalancerSetting{},
    		},
    		{
    			"dr only",
    			nil,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  8. tests/integration/security/pass_through_filter_chain_test.go

    							param.Namespace.String(): apps.Ns1.Namespace,
    						})).
    						// It's not trivial to force mTLS to pass-through ports. To work around this, we will
    						// set up a SE and DR that forces it.
    						//
    						// Since our client will talk directly to pods via IP, we have to configure the ports
    						// in the SE as TCP, since only TCP does will match based in IP address rather than host.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. tests/integration/security/egress_sidecar_tls_origination_test.go

      ports:
      - number: 80
        name: http-port
        protocol: HTTP
        targetPort: 443
      - number: 443
        name: https-port
        protocol: HTTPS
      resolution: DNS
    `
    	dr := `
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: originate-tls-for-server-sds-{{.WorkloadSelector}}
    spec:
      workloadSelector:
        matchLabels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_tls.go

    	}
    }
    
    // Set auto_sni if EnableAutoSni feature flag is enabled and if sni field is not explicitly set in DR.
    // Set auto_san_validation if VerifyCertAtClient feature flag is enabled and if there is no explicit SubjectAltNames specified  in DR.
    func (cb *ClusterBuilder) setAutoSniAndAutoSanValidation(mc *clusterWrapper, tls *networking.ClientTLSSettings) {
    	if mc == nil || !features.EnableAutoSni {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top