- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for sourceNamespace (0.33 sec)
-
pilot/pkg/networking/core/tls_test.go
want bool }{ { "source namespace match", args{ match: &v1alpha3.TLSMatchAttributes{ SourceNamespace: "foo", }, namespace: "foo", }, true, }, { "source namespace not match", args{ match: &v1alpha3.TLSMatchAttributes{ SourceNamespace: "foo", }, namespace: "bar", }, false, }, { "source namespace not match when empty",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 3K bytes - Viewed (0) -
pkg/config/validation/virtualservice.go
errs = appendErrors(errs, validateGatewayNames(match.Gateways, false)) if match.SourceNamespace != "" { if !labels.IsDNS1123Label(match.SourceNamespace) { errs = appendErrors(errs, fmt.Errorf("sourceNamespace match %s is invalid", match.SourceNamespace)) } } } } return }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:27 UTC 2024 - 9.3K bytes - Viewed (0) -
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) -
tests/fuzz/testdata/FuzzConfigValidation2/fuzz_config_validation2.dict
"corsPolicy" "headers" "mirrorPercent" "namespace" "request" "response" "route" "uri" "method" "authority" "sourceLabels" "queryParams" "ignoreUriCase" "withoutHeaders" "sourceNamespace" "destination" "destinationSubnets" "sniHosts" "redirectCode" "retryRemoteLocalities" "retryOn" "perTryTimeout" "attempts" "allowOrigins" "allowMethods" "allowHeaders"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 07 17:07:53 UTC 2021 - 2K 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) -
pilot/pkg/networking/core/route/route_cache.go
vs := config.Spec.(*networking.VirtualService) for _, httpRoute := range vs.Http { for _, match := range httpRoute.Match { // if vs has source match, not cacheable if len(match.SourceLabels) > 0 || match.SourceNamespace != "" { return false } } } } return true } func extractNamespaceForKubernetesService(hostname string) (string, error) { ih := strings.Index(hostname, ".svc.") if ih < 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 5.8K 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/model/virtualservice_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 60.6K 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)