- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for WorkloadSelector (1.09 sec)
-
pilot/pkg/model/authentication_test.go
selector := &selectorpb.WorkloadSelector{ MatchLabels: map[string]string{ "app": "httpbin", "version": "v1", }, } configs = append(configs, createTestRequestAuthenticationResource("default", rootNamespace, nil, nil), createTestRequestAuthenticationResource("global-with-selector", rootNamespace, &selectorpb.WorkloadSelector{ MatchLabels: map[string]string{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 45.1K bytes - Viewed (0) -
tests/integration/security/egress_sidecar_tls_origination_test.go
workloadSelector string, credentialName string, clientNamespace namespace.Instance, ) { args := map[string]any{ "to": to, "Mode": destinationRuleMode, "CredentialName": credentialName, "WorkloadSelector": workloadSelector, } se := ` apiVersion: networking.istio.io/v1alpha3 kind: ServiceEntry
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 10.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/conversion.go
// alpha.istio.io/kubernetes-serviceaccounts. SubjectAltNames: svc.ServiceAccounts, } if len(svc.Attributes.LabelSelectors) > 0 { se.WorkloadSelector = &networking.WorkloadSelector{Labels: svc.Attributes.LabelSelectors} } // Based on networking.istio.io/exportTo annotation for k := range svc.Attributes.ExportTo { // k is Private or Public
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 16.9K bytes - Viewed (0) -
pilot/pkg/model/extensions_test.go
}, want: true, }, { desc: "only the workload selector is given", wasmPlugin: &WasmPluginWrapper{WasmPlugin: &extensions.WasmPlugin{ Selector: &v1beta1.WorkloadSelector{ MatchLabels: map[string]string{"a": "b"}, }, Match: nil, }}, proxyLabels: map[string]string{"a": "b", "c": "d"}, listenerInfo: WasmPluginListenerInfo{ Port: 1234,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 14.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller.go
configsUpdated := sets.New[model.ConfigKey]() fullPush := false for _, cfg := range cfgs { se := cfg.Spec.(*networking.ServiceEntry) if se.WorkloadSelector == nil || (!labelsChanged && !labels.Instance(se.WorkloadSelector.Labels).Match(wi.Endpoint.Labels)) { // If the labels didn't change. And the new SE doesn't match then the old didn't match either and we can skip processing it. continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 36.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/conversion_test.go
Hosts: []string{"selector.com"}, Ports: []*networking.ServicePort{ {Number: 444, Name: "tcp-444", Protocol: "tcp"}, {Number: 445, Name: "http-445", Protocol: "http"}, }, WorkloadSelector: &networking.WorkloadSelector{ Labels: map[string]string{"app": "wle"}, }, Resolution: networking.ServiceEntry_DNS, }, } // ServiceEntry with a selector var selector = &config.Config{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 39K bytes - Viewed (0) -
pilot/pkg/model/proxy_config_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 21 01:23:19 UTC 2023 - 11.8K bytes - Viewed (0) -
pkg/config/validation/envoyfilter/envoyfilter_test.go
error string warning string }{ {name: "empty filters", in: &networking.EnvoyFilter{}, error: ""}, {name: "labels not defined in workload selector", in: &networking.EnvoyFilter{ WorkloadSelector: &networking.WorkloadSelector{}, }, error: "", warning: "Envoy filter: workload selector specified without labels, will be applied to all services in namespace"}, {name: "invalid applyTo", in: &networking.EnvoyFilter{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 16.7K bytes - Viewed (0) -
pilot/pkg/networking/core/accesslog_test.go
configStore.Create(config.Config{ Meta: config.Meta{ Name: "test", Namespace: "default", GroupVersionKind: gvk.Telemetry, }, Spec: &tpb.Telemetry{ Selector: &v1beta1.WorkloadSelector{ MatchLabels: map[string]string{ "app": "test", }, }, AccessLogging: []*tpb.AccessLogging{ { Providers: []*tpb.ProviderRef{ { Name: "envoy-json",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 19.9K bytes - Viewed (0) -
pkg/config/validation/envoyfilter/envoyfilter.go
rule, ok := cfg.Spec.(*networking.EnvoyFilter) if !ok { return nil, fmt.Errorf("cannot cast to Envoy filter") } warning, err := validation.ValidateAlphaWorkloadSelector(rule.WorkloadSelector) if err != nil { return nil, err } // If workloadSelector is defined and labels are not set, it is most likely // an user error. Marking it as a warning to keep it backwards compatible. if warning != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 12.2K bytes - Viewed (0)