- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 91 for WorkloadSelector (0.31 sec)
-
pkg/kube/krt/internal.go
} labelsField := specField.FieldByName("Selector") if !labelsField.IsValid() { panic(fmt.Sprintf("obj %T has no Selector", a)) } switch s := labelsField.Interface().(type) { case *v1beta1.WorkloadSelector: return s.GetMatchLabels() case map[string]string: return s default: panic(fmt.Sprintf("obj %T has unknown Selector", s)) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 5.6K bytes - Viewed (0) -
pilot/pkg/model/sidecar.go
destinationRule := destRule.rule.Spec.(*networking.DestinationRule) if destinationRule.GetWorkloadSelector() == nil { catchAllDr = destRule } // filter DestinationRule based on workloadSelector for outbound configs. // WorkloadSelector configuration is honored only for outbound configuration, because // for inbound configuration, the settings at sidecar would be more explicit and the preferred way forward.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 20:32:23 UTC 2024 - 38.4K bytes - Viewed (0) -
pkg/config/analysis/analyzers/analyzers_test.go
name: "destinationrule with credentialname, simple at destinationlevel, workloadSelector", inputFiles: []string{ "testdata/destinationrule-simple-destination-credentialname-selector.yaml", }, analyzer: &destinationrule.CaCertificateAnalyzer{}, expected: []message{}, }, { name: "destinationrule with credentialname, simple at portlevel, no workloadSelector", inputFiles: []string{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 07:22:31 UTC 2024 - 42.6K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_tls.go
if tls == nil { return nil, nil } // Hack to avoid egress sds cluster config generation for sidecar when // CredentialName is set in DestinationRule without a workloadSelector. // We do not want to support CredentialName setting in non workloadSelector based DestinationRules, because // that would result in the CredentialName being supplied to all the sidecars which the DestinationRule is scoped to,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 19.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go
var endpoints []*v1alpha3.WorkloadEntry var workloadSelector *v1alpha3.WorkloadSelector if epAddresses == nil { workloadSelector = &v1alpha3.WorkloadSelector{ Labels: labels, } } else { endpoints = []*v1alpha3.WorkloadEntry{} for _, addr := range epAddresses {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 70.2K bytes - Viewed (0) -
tests/integration/helm/util.go
global: hub: %s %s variant: %q profile: ambient ` sampleEnvoyFilter = ` apiVersion: networking.istio.io/v1alpha3 kind: EnvoyFilter metadata: name: sample spec: workloadSelector: labels: istio: ingressgateway configPatches: - applyTo: NETWORK_FILTER # http connection manager is a filter in Envoy match: context: GATEWAY listener: filterChain:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 19:04:51 UTC 2024 - 18.7K bytes - Viewed (0) -
pilot/pkg/model/push_context.go
// if there is a workload selector, check for matching workload labels if sidecar.GetWorkloadSelector() != nil { workloadSelector := labels.Instance(sidecar.GetWorkloadSelector().GetLabels()) // exclude workload selector that not match if !workloadSelector.SubsetOf(workloadLabels) { continue } } // it is guaranteed sidecars with selectors are put in front
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0) -
pilot/pkg/model/authorization_test.go
Methods: []string{"GET"}, }, }, }, }, }, } policyWithSelector := proto.Clone(policy).(*authpb.AuthorizationPolicy) policyWithSelector.Selector = &selectorpb.WorkloadSelector{ MatchLabels: labels.Instance{ "app": "httpbin", "version": "v1", }, } policyWithTargetRef := proto.Clone(policy).(*authpb.AuthorizationPolicy)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 12.7K bytes - Viewed (0) -
pilot/pkg/features/pilot.go
EnableSelectorBasedK8sGatewayPolicy = env.Register("ENABLE_SELECTOR_BASED_K8S_GATEWAY_POLICY", true, "If disabled, Gateway API gateways will ignore workloadSelector policies, only"+ "applying policies that select the gateway with a targetRef.").Get()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 13.3K bytes - Viewed (0) -
pilot/pkg/xds/ads_test.go
notMatchedScc := config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.Sidecar, Name: "notMatchedSc", Namespace: testConfigNamespace, }, Spec: &networking.Sidecar{ WorkloadSelector: &networking.WorkloadSelector{ Labels: map[string]string{"notMatched": "notMatched"}, }, }, } if _, err := s.Store().Create(scc); err != nil { t.Fatal(err) } addService(testConfigNamespace, 1, 2, 3)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 30 17:25:17 UTC 2024 - 30.3K bytes - Viewed (0)