- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for sourceNamespace (0.17 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/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)