Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for DR (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pilot/pkg/model/push_context_test.go

    			}
    			for i, dr := range drList {
    				if dr.rule.Name != tt.expectedDrName[i] {
    					t.Errorf("destinationRuleName expected %v got %v", tt.expectedDrName[i], dr.rule.Name)
    				}
    			}
    			testLocal := ps.destinationRuleIndex.namespaceLocal[tt.proxyNs]
    			if testLocal != nil {
    				destRules := testLocal.specificDestRules
    				for _, dr := range destRules[host.Name(testhost)] {
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. pilot/pkg/networking/core/cluster_builder_test.go

    			if err != nil {
    				t.Errorf("Could not parse destination rule: %v", err)
    			}
    			dr := &networking.DestinationRule{}
    			err = json.Unmarshal(byteArray, dr)
    			if err != nil {
    				t.Errorf("Could not unmarshal destination rule: %v", err)
    			}
    			ca := dr.TrafficPolicy.Tls.CaCertificates
    			if ca != tt.expectedCaCertificateName {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  9. pilot/pkg/model/sidecar_test.go

    		Meta: config.Meta{
    			Name:      "sidecar-scope-with-workloadselector-specific-dr-match",
    			Namespace: "mynamespace",
    			Labels:    map[string]string{"app": "app2"},
    		},
    		Spec: &networking.Sidecar{},
    	}
    
    	configs19 = &config.Config{
    		Meta: config.Meta{
    			Name:      "sidecar-scope-with-workloadselector-specific-dr-no-match",
    			Namespace: "mynamespace",
    			Labels:    map[string]string{"app": "app5"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  10. tests/integration/security/egress_gateway_origination_test.go

    		"CredentialName": credentialName,
    	}
    
    	// Get namespace for gateway pod.
    	istioCfg := istio.DefaultConfigOrFail(t, t)
    	systemNS := namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    
    	dr := `
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: originate-tls-for-server-sds-{{.CredentialName}}
    spec:
      host: "{{ .to.Config.ClusterLocalFQDN }}"
      trafficPolicy:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top