- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for AllowOrigins (0.3 sec)
-
pkg/config/analysis/analyzers/util/find_errorline_utils.go
HeaderAndQueryParamsRegexMatch = "{.spec.http[%d].match[%d].%s.%s.regex}" // Path for regex match of allowOrigins. // Required parameters: http index, allowOrigins index. AllowOriginsRegexMatch = "{.spec.http[%d].corsPolicy.allowOrigins[%d].regex}" // Path for workload selector. // Required parameters: selector label. WorkloadSelector = "{.spec.workloadSelector.labels.%s}"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 07 15:18:05 UTC 2023 - 4.7K bytes - Viewed (0) -
tests/testdata/config/rule-default-route-cors-policy.yaml
metadata: name: cors namespace: testns spec: hosts: - cors.test.istio.io http: - route: - destination: host: cors.test.istio.io corsPolicy: allowOrigins: - exact: http://foo.example allowMethods: - POST - GET - OPTIONS allowHeaders: - content-type exposeHeaders:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 01 00:53:22 UTC 2020 - 827 bytes - Viewed (0) -
tests/fuzz/testdata/FuzzConfigValidation2/fuzz_config_validation2.dict
"queryParams" "ignoreUriCase" "withoutHeaders" "sourceNamespace" "destination" "destinationSubnets" "sniHosts" "redirectCode" "retryRemoteLocalities" "retryOn" "perTryTimeout" "attempts" "allowOrigins" "allowMethods" "allowHeaders" "exposeHeaders" "maxAge" "allowCredentials" "abort" "set" "add" "remove" "fixedDelay" "percentage" "percent" "httpStatus" "address"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 07 17:07:53 UTC 2021 - 2K bytes - Viewed (0) -
pkg/config/analysis/analyzers/util/find_errorline_utils_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 3.5K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_internal_test.go
node := &model.Proxy{ IstioVersion: &model.IstioVersion{ Major: 1, Minor: 23, Patch: 0, }, } corsPolicy := &networking.CorsPolicy{ AllowOrigins: []*networking.StringMatch{ {MatchType: &networking.StringMatch_Exact{Exact: "exact"}}, {MatchType: &networking.StringMatch_Prefix{Prefix: "prefix"}}, {MatchType: &networking.StringMatch_Regex{Regex: "regex"}},
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.go
out.ForwardNotMatchingPreflights = forwardNotMatchingPreflights(in) } // nolint: staticcheck if in.AllowOrigins != nil { out.AllowOriginStringMatch = util.ConvertToEnvoyMatches(in.AllowOrigins) } else if in.AllowOrigin != nil { out.AllowOriginStringMatch = util.StringToExactMatch(in.AllowOrigin) } out.FilterEnabled = &core.RuntimeFractionalPercent{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
pkg/config/validation/validation_test.go
AllowHeaders: []string{"header1", "header2"}, ExposeHeaders: []string{"header3"}, MaxAge: &durationpb.Duration{Seconds: 2, Nanos: 42}, }, valid: false}, {name: "empty matchType AllowOrigins", in: &networking.CorsPolicy{ AllowOrigins: []*networking.StringMatch{ {MatchType: &networking.StringMatch_Exact{Exact: ""}}, {MatchType: &networking.StringMatch_Prefix{Prefix: ""}},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0) -
pkg/config/validation/validation.go
} return } func validateCORSPolicy(policy *networking.CorsPolicy) (errs error) { if policy == nil { return } for _, origin := range policy.AllowOrigins { errs = appendErrors(errs, validateAllowOrigins(origin)) } for _, method := range policy.AllowMethods { errs = appendErrors(errs, validateHTTPMethod(method)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
manifests/charts/istiod-remote/templates/crd-all.gen.yaml
type: array allowOrigin: items: type: string type: array allowOrigins: description: String patterns that match allowed origins. items: oneOf: - not:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:42 UTC 2024 - 671.7K bytes - Viewed (2) -
tests/integration/pilot/common/routing.go
config: ` apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: default spec: hosts: - {{ .dstSvc }} http: - corsPolicy: allowOrigins: - exact: cors.com allowMethods: - POST - GET allowCredentials: false allowHeaders: - X-Foo-Bar - X-Foo-Baz maxAge: "24h" route:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 21:52:51 UTC 2024 - 135.9K bytes - Viewed (0)