Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 91 for WorkloadSelector (0.31 sec)

  1. tests/integration/telemetry/api/wasmplugin_test.go

    			t.Fatalf("failed to install WasmPlugin: %v", err)
    		}
    		sendTraffic(t, check.ResponseHeader(injectedHeader, c.expectedVersion))
    	})
    }
    
    // TestTargetRef vs workloadSelector for gateways
    func TestGatewaySelection(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			crd.DeployGatewayAPIOrSkip(t)
    			args := map[string]any{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. pilot/test/mock/config.go

    				LbPolicy: new(networking.LoadBalancerSettings_Simple),
    			},
    		},
    	}
    
    	// ExampleAuthorizationPolicy is an example AuthorizationPolicy
    	ExampleAuthorizationPolicy = &authz.AuthorizationPolicy{
    		Selector: &api.WorkloadSelector{
    			MatchLabels: map[string]string{
    				"app":     "httpbin",
    				"version": "v1",
    			},
    		},
    	}
    
    	mockGvk = collections.Mock.GroupVersionKind()
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  3. pkg/kube/krt/collection_test.go

    	return krt.NewCollection(entries, func(ctx krt.HandlerContext, i *istioclient.ServiceEntry) *SimpleService {
    		l := i.Spec.WorkloadSelector.GetLabels()
    		if l == nil {
    			return nil
    		}
    		return &SimpleService{
    			Named:    NewNamed(i),
    			Selector: l,
    		}
    	})
    }
    
    type SimpleEndpoint struct {
    	Pod       string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. pilot/pkg/xds/workload_test.go

    		},
    		PortLevelMtls: map[uint32]*v1beta1.PeerAuthentication_MutualTLS{
    			9080: {
    				Mode: v1beta1.PeerAuthentication_MutualTLS_STRICT,
    			},
    		},
    		Selector: &metav1beta1.WorkloadSelector{
    			MatchLabels: map[string]string{
    				"app": "sa", // This patches the pod we will create
    			},
    		},
    	})
    	expect(ads.ExpectResponse(), "ns/converted_peer_authentication_policy2")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    		Meta: config.Meta{
    			GroupVersionKind: gvk.ProxyConfig,
    			Name:             "test",
    			Namespace:        "default",
    		},
    		Spec: &istioio_networking_v1beta1.ProxyConfig{
    			Selector: &istio_type_v1beta1.WorkloadSelector{
    				MatchLabels: map[string]string{
    					"gateway.networking.k8s.io/gateway-name": "default",
    				},
    			},
    			Image: &istioio_networking_v1beta1.ProxyImage{
    				ImageType: "distroless",
    			},
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. tests/integration/pilot/common/routing.go

            typed_config:
              '@type': type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
              xff_num_trusted_hops: 1
              normalize_path: true
      workloadSelector:
        labels:
          istio: {{.GatewayIstioLabel | default "ingressgateway"}}
    ---
    ` + httpVirtualServiceTmpl,
    		opts: echo.CallOptions{
    			Count: 1,
    			Port: echo.Port{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  7. pilot/pkg/model/telemetry_logging_test.go

    				},
    				Providers: []*tpb.ProviderRef{
    					{
    						Name: "envoy",
    					},
    				},
    			},
    		},
    	}
    	sidecarClient := &tpb.Telemetry{
    		Selector: &v1beta1.WorkloadSelector{
    			MatchLabels: labels,
    		},
    		AccessLogging: []*tpb.AccessLogging{
    			{
    				Match: &tpb.AccessLogging_LogSelector{
    					Mode: tpb.WorkloadMode_CLIENT,
    				},
    				Providers: []*tpb.ProviderRef{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. tests/integration/ambient/baseline_test.go

    			}
    			t.ConfigIstio().Eval(apps.Namespace.Name(), map[string]string{
    				"Destination": "waypoint",
    			}, `apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: inbound
    spec:
      workloadSelector:
        labels:
          gateway.networking.k8s.io/gateway-name: "{{.Destination}}"
      configPatches:
      - applyTo: HTTP_FILTER
        match:
          context: SIDECAR_INBOUND
          listener:
            filterChain:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		implicitEndpoints := len(eps) == 0 &&
    			(se.Spec.Resolution == networkingv1alpha3.ServiceEntry_DNS || se.Spec.Resolution == networkingv1alpha3.ServiceEntry_DNS_ROUND_ROBIN) &&
    			se.Spec.WorkloadSelector == nil
    		if len(eps) == 0 && !implicitEndpoints {
    			return nil
    		}
    		// here we don't care about the *service* waypoint (hence it is nil); we are only going to use a subset of the info in
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. pilot/pkg/xds/bench_test.go

    				Name:              "selector",
    				Namespace:         "default",
    				CreationTimestamp: time.Now(),
    			},
    			Spec: &security.PeerAuthentication{
    				Selector: &v1beta1.WorkloadSelector{MatchLabels: map[string]string{"type": "eds-benchmark"}},
    				Mtls:     &security.PeerAuthentication_MutualTLS{Mode: security.PeerAuthentication_MutualTLS_DISABLE},
    			},
    		})
    	return result
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top