Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for destinationRule (0.17 sec)

  1. pkg/config/analysis/analyzers/testdata/destinationrule-simple-destination-credentialname.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: db-tls
    spec:
      host: mydbserver.prod.svc.cluster.local
      trafficPolicy:
        tls:
          mode: SIMPLE
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 217 bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/destinationrule-simple-port-credentialname.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: db-tls
    spec:
      host: mydbserver.prod.svc.cluster.local
      trafficPolicy:
        portLevelSettings:
          - port:
              number: 443
            tls:
              mode: SIMPLE
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 288 bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/testdata/destinationrule-simple-port-credentialname-selector.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: db-tls
    spec:
      host: mydbserver.prod.svc.cluster.local
      trafficPolicy:
        portLevelSettings:
          - port:
              number: 443
            tls:
              mode: SIMPLE
              credentialName: db-credential
      workloadSelector:
          matchLabels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 342 bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/testdata/destinationrule-simple-destination-credentialname-selector.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: db-tls
    spec:
      host: mydbserver.prod.svc.cluster.local
      trafficPolicy:
        tls:
          mode: SIMPLE
          credentialName: db-credential
      workloadSelector:
          matchLabels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 271 bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/destinationrule/ca-certificates.go

    	return analysis.Metadata{
    		Name:        "destinationrule.CaCertificateAnalyzer",
    		Description: "Checks if caCertificates is set when TLS mode is SIMPLE/MUTUAL",
    		Inputs: []config.GroupVersionKind{
    			gvk.DestinationRule,
    		},
    	}
    }
    
    func (c *CaCertificateAnalyzer) Analyze(ctx analysis.Context) {
    	ctx.ForEach(gvk.DestinationRule, func(r *resource.Instance) bool {
    		c.analyzeDestinationRule(r, ctx)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. pilot/pkg/model/destination_rule.go

    func (ps *PushContext) mergeDestinationRule(p *consolidatedDestRules, destRuleConfig config.Config, exportToSet sets.Set[visibility.Instance]) {
    	rule := destRuleConfig.Spec.(*networking.DestinationRule)
    	resolvedHost := host.Name(rule.Host)
    
    	var destRules map[host.Name][]*ConsolidatedDestRule
    
    	if resolvedHost.IsWildCarded() {
    		destRules = p.wildcardDestRules
    	} else {
    		destRules = p.specificDestRules
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 07:22:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. 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)
  8. pilot/pkg/networking/core/cluster_test.go

    			configs: []config.Config{{
    				Meta: config.Meta{
    					GroupVersionKind: gvk.DestinationRule,
    					Name:             "test-desinationrule",
    					Namespace:        TestServiceNamespace,
    				},
    				Spec: destRuleWithNoSubsets,
    			}},
    			configUpdated:        sets.New(model.ConfigKey{Kind: kind.DestinationRule, Name: "test-desinationrule", Namespace: TestServiceNamespace}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  9. 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)
  10. pilot/pkg/networking/core/cluster_builder_test.go

    		clusterMode            ClusterMode
    		service                *model.Service
    		port                   *model.Port
    		proxyView              model.ProxyView
    		destRule               *networking.DestinationRule
    		meshConfig             *meshconfig.MeshConfig
    		expectedSubsetClusters []*cluster.Cluster
    	}{
    		// TODO(ramaraochavali): Add more tests to cover additional conditions.
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
Back to top