- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for sourceNamespace (0.23 sec)
-
pilot/pkg/model/virtualservice.go
} if root.IgnoreUriCase != leaf.IgnoreUriCase { return true } if root.Port > 0 && leaf.Port > 0 && root.Port != leaf.Port { return true } // sourceNamespace if root.SourceNamespace != "" && leaf.SourceNamespace != root.SourceNamespace { return true } // sourceLabels should not conflict, root should have superset of sourceLabels. for key, leafValue := range leaf.SourceLabels {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 11:17:03 UTC 2024 - 17.4K bytes - Viewed (0) -
pilot/pkg/networking/core/tls.go
} labelMatch := labels.Instance(match.SourceLabels).SubsetOf(proxyLabels) portMatch := match.Port == 0 || match.Port == uint32(port) nsMatch := match.SourceNamespace == "" || match.SourceNamespace == proxyNamespace return gatewayMatch && labelMatch && portMatch && nsMatch } // Match by source labels, the listener port where traffic comes in, the gateway on which the rule is being
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 14.7K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_internal_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 11 02:47:57 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/config/validation/virtualservice_test.go
}}, }}, }, valid: false, }, { name: "delegate with sourceNamespace", in: &networking.VirtualService{ Hosts: []string{}, Http: []*networking.HTTPRoute{{ Match: []*networking.HTTPMatchRequest{ { SourceNamespace: "test", }, }, Route: []*networking.HTTPRouteDestination{{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 15:33:55 UTC 2024 - 19.9K bytes - Viewed (0) -
pilot/pkg/networking/core/gateway.go
DestinationSubnets: tlsMatch.DestinationSubnets, Port: tlsMatch.Port, SourceLabels: tlsMatch.SourceLabels, Gateways: tlsMatch.Gateways, SourceNamespace: tlsMatch.SourceNamespace, } } func l4MultiMatch(predicates []*networking.L4MatchAttributes, server *networking.Server, gateway string) bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 46.4K bytes - Viewed (0)