Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 91 for WorkloadSelector (0.37 sec)

  1. pkg/config/analysis/analyzers/testdata/envoy-filter-patch-operation.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: test-patch-1
      namespace: bookinfo
    spec:
      workloadSelector:
        labels:
          app: reviews
      priority: 10
      configPatches:
      - applyTo: HTTP_FILTER
        match:
          context: SIDECAR_INBOUND
        patch:
          operation: REPLACE
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 31 19:38:42 UTC 2022
    - 5K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/absolute-envoy-filter-operation.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: test-reviews-lua-1
      namespace: bookinfo
    spec:
      workloadSelector:
        labels:
          app: reviews
      configPatches:
        # The first patch adds the lua filter to the listener/http connection manager
      - applyTo: HTTP_FILTER
        match:
          context: SIDECAR_INBOUND
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 28 12:58:54 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/destinationrule/ca-certificates.go

    	if mode == v1alpha3.ClientTLSSettings_SIMPLE || mode == v1alpha3.ClientTLSSettings_MUTUAL {
    		if dr.GetTrafficPolicy().GetTls().GetCaCertificates() == "" && !(dr.GetTrafficPolicy().GetTls().GetCredentialName() != "" && dr.WorkloadSelector != nil) {
    			m := msg.NewNoServerCertificateVerificationDestinationLevel(r, drName,
    				drNs.String(), mode.String(), dr.GetHost())
    
    			if line, ok := util.ErrorLine(r, fmt.Sprintf(util.DestinationRuleTLSCert)); ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. pkg/test/datasets/validation/dataset/networking-v1alpha3-EnvoyFilter.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: simple-envoy-filter
    spec:
      workloadSelector:
        labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 07:02:38 UTC 2023
    - 149 bytes
    - Viewed (0)
  5. pilot/pkg/model/envoyfilter.go

    	out := &EnvoyFilterWrapper{Name: local.Name, Namespace: local.Namespace, Priority: localEnvoyFilter.Priority, creationTime: local.CreationTimestamp}
    	if localEnvoyFilter.WorkloadSelector != nil {
    		out.workloadSelector = localEnvoyFilter.WorkloadSelector.Labels
    	}
    	out.Patches = make(map[networking.EnvoyFilter_ApplyTo][]*EnvoyFilterConfigPatchWrapper)
    	for _, cp := range localEnvoyFilter.ConfigPatches {
    		if cp.Patch == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 13:57:28 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceentry/util.go

    	out := make(map[types.NamespacedName]*config.Config)
    	for i, cfg := range ses {
    		se := cfg.Spec.(*networking.ServiceEntry)
    		if se.WorkloadSelector != nil && labels.Instance(se.WorkloadSelector.Labels).Match(wle.Labels) {
    			out[cfg.NamespacedName()] = &ses[i]
    		}
    	}
    
    	return out
    }
    
    // returns a set of objects that are in `old` but not in `curr`
    // For example:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. pilot/pkg/security/authn/policy_applier_test.go

    					Meta: config.Meta{
    						Name:              "now",
    						Namespace:         "my-ns",
    						CreationTimestamp: now,
    					},
    					Spec: &v1beta1.PeerAuthentication{
    						Selector: &type_beta.WorkloadSelector{
    							MatchLabels: map[string]string{
    								"app": "foo",
    							},
    						},
    						Mtls: &v1beta1.PeerAuthentication_MutualTLS{
    							Mode: v1beta1.PeerAuthentication_MutualTLS_STRICT,
    						},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 60.2K bytes
    - Viewed (0)
  8. tests/integration/telemetry/policy/testdata/enable_envoy_local_ratelimit.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: filter-local-ratelimit-svc
      namespace: istio-system
    spec:
      workloadSelector:
        labels:
          app: clt
      configPatches:
        - applyTo: HTTP_FILTER
          patch:
            operation: INSERT_BEFORE
            value:
              name: envoy.filters.http.local_ratelimit
              typed_config:
                "@type": type.googleapis.com/udpa.type.v1.TypedStruct
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 02 03:31:35 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  9. pkg/config/validation/validation_test.go

    					{Number: 8080, Protocol: "http", Name: "http-valid2"},
    				},
    				WorkloadSelector: &networking.WorkloadSelector{},
    			},
    			valid:   true,
    			warning: true,
    		},
    		{
    			name: "selector and endpoints", in: &networking.ServiceEntry{
    				Hosts:            []string{"google.com"},
    				WorkloadSelector: &networking.WorkloadSelector{Labels: map[string]string{"foo": "bar"}},
    				Ports: []*networking.ServicePort{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  10. 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)
Back to top