Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-gcp.Go to Latest
upbound/provider-gcp@v0.16.0
RegionURLMap
compute.gcp.upbound.io
RegionURLMap
upbound/provider-gcp@v0.16.0compute.gcp.upbound.io

RegionURLMap is the Schema for the RegionURLMaps API. UrlMaps are used to route requests to a backend service based on rules that you define for the host and path of an incoming URL.

Type

CRD

Group

compute.gcp.upbound.io

Version

v1beta1

apiVersion: compute.gcp.upbound.io/v1beta1

kind: RegionURLMap

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

RegionURLMapSpec defines the desired state of RegionURLMap

forProvider
requiredobject
requiredobject

No description provided.

object

Reference to a RegionBackendService in compute to populate defaultService.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a RegionBackendService in compute to populate defaultService.

policy
object
object

Policies for selection.

resolve
string
array

When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Structure is documented below.

array

The list of HostRules to use against the URL. Structure is documented below.

hosts
requiredarray
requiredarray

The list of host patterns to match. They must be valid hostnames, except * will match any string of ([a-z0-9-.]*). In that case, * must be the first character and must be followed in the pattern by either - or ..

pathMatcher
requiredstring
array

The list of named PathMatchers to use against the URL. Structure is documented below.

object

Reference to a RegionBackendService in compute to populate defaultService.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a RegionBackendService in compute to populate defaultService.

policy
object
object

Policies for selection.

resolve
string
array

When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Structure is documented below.

name
requiredstring
array

The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set. Structure is documented below.

paths
requiredarray
requiredarray

The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.

array

In response to a matching matchRule, the load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. Structure is documented below.

array

The specification for allowing client side cross-origin requests. Please see W3C Recommendation for Cross Origin Resource Sharing Structure is documented below.

array

Specifies the content for the Access-Control-Allow-Headers header.

array

Specifies the content for the Access-Control-Allow-Methods header.

array

Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex.

array

Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either allow_origins or allow_origin_regex.

disabled
requiredboolean
array

Specifies the content for the Access-Control-Expose-Headers header.

maxAge
number
array

The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by Loadbalancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the Loadbalancer for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy. Structure is documented below.

abort
array
array

The specification for how client requests are aborted as part of fault injection. Structure is documented below.

httpStatus
requirednumber
percentage
requirednumber
delay
array
array

The specification for how client requests are delayed as part of fault injection, before being sent to a backend service. Structure is documented below.

fixedDelay
requiredarray
requiredarray

Specifies the value of the fixed delay interval. Structure is documented below.

nanos
number
seconds
requiredstring
percentage
requirednumber
array

Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. Loadbalancer does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Structure is documented below.

object

Reference to a RegionBackendService in compute to populate backendService.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a RegionBackendService in compute to populate backendService.

policy
object
object

Policies for selection.

resolve
string
array

Specifies the retry policy associated with this route. Structure is documented below.

array

Specifies a non-zero timeout per retry attempt. Structure is documented below.

nanos
number
seconds
requiredstring
array

Specifies one or more conditions when this retry rule applies. Valid values are:

timeout
array
array

Specifies the timeout for the selected route. Timeout is computed from the time the request is has been fully processed (i.e. end-of-stream) up until the response has been completely processed. Timeout includes all retries. If not specified, the default value is 15 seconds. Structure is documented below.

nanos
number
seconds
requiredstring
array

The spec to modify the URL of the request, prior to forwarding the request to the matched service Structure is documented below.

array

A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non 0 number. Once a backendService is identified and before forwarding the request to the backend service, advanced routing actions like Url rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction. Structure is documented below.

object

Reference to a RegionBackendService in compute to populate backendService.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a RegionBackendService in compute to populate backendService.

policy
object
object

Policies for selection.

resolve
string
array

Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. Structure is documented below.

array

Headers to add to a matching request prior to forwarding the request to the backendService. Structure is documented below.

headerName
requiredstring
headerValue
requiredstring
replace
requiredboolean
array

A list of header names for headers that need to be removed from the request prior to forwarding the request to the backendService.

array

Headers to add the response prior to sending the response back to the client. Structure is documented below.

headerName
requiredstring
headerValue
requiredstring
replace
requiredboolean
array

A list of header names for headers that need to be removed from the response prior to sending the response back to the client.

weight
requirednumber
service
string
object

Reference to a RegionBackendService in compute to populate service.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a RegionBackendService in compute to populate service.

policy
object
object

Policies for selection.

resolve
string
array

When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Structure is documented below.

array

The list of ordered HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. The order of specifying routeRules matters: the first rule that matches will cause its specified routing action to take effect. Within a given pathMatcher, only one of pathRules or routeRules must be set. routeRules are not supported in UrlMaps intended for External load balancers. Structure is documented below.

array

Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. Structure is documented below.

array

Headers to add to a matching request prior to forwarding the request to the backendService. Structure is documented below.

headerName
requiredstring
headerValue
requiredstring
replace
requiredboolean
array

A list of header names for headers that need to be removed from the request prior to forwarding the request to the backendService.

array

Headers to add the response prior to sending the response back to the client. Structure is documented below.

headerName
requiredstring
headerValue
requiredstring
replace
requiredboolean
array

A list of header names for headers that need to be removed from the response prior to sending the response back to the client.

array

The rules for determining a match. Structure is documented below.

array

Specifies a list of header match criteria, all of which must match corresponding headers in the request. Structure is documented below.

headerName
requiredstring
array

The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0]

rangeEnd
requirednumber
rangeStart
requirednumber
ignoreCase
boolean
array

Opaque filter criteria used by Loadbalancer to restrict routing configuration to a limited set xDS compliant clients. In their xDS requests to Loadbalancer, xDS clients present node metadata. If a match takes place, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels in the provided metadata. metadataFilters specified here can be overrides those specified in ForwardingRule that refers to this UrlMap. metadataFilters only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_SELF_MANAGED. Structure is documented below.

filterLabels
requiredarray
requiredarray

The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. Structure is documented below.

name
requiredstring
value
requiredstring
filterMatchCriteria
requiredstring
array

Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Structure is documented below.

name
requiredstring
priority
requirednumber
array

In response to a matching matchRule, the load balancer performs advanced routing actions like URL rewrites, header transformations, etc. prior to forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. Structure is documented below.

array

The specification for allowing client side cross-origin requests. Please see W3C Recommendation for Cross Origin Resource Sharing Structure is documented below.

array

Specifies the content for the Access-Control-Allow-Headers header.

array

Specifies the content for the Access-Control-Allow-Methods header.

array

Specifies the regular expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex.

array

Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either allow_origins or allow_origin_regex.

disabled
boolean
array

Specifies the content for the Access-Control-Expose-Headers header.

maxAge
number
array

The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by Loadbalancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the Loadbalancer for a percentage of requests. timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy. Structure is documented below.

abort
array
array

The specification for how client requests are aborted as part of fault injection. Structure is documented below.

delay
array
array

The specification for how client requests are delayed as part of fault injection, before being sent to a backend service. Structure is documented below.

array

Specifies the value of the fixed delay interval. Structure is documented below.

nanos
number
seconds
requiredstring
array

Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. Loadbalancer does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Structure is documented below.

backendService
requiredstring
array

Specifies the retry policy associated with this route. Structure is documented below.

numRetries
requirednumber
array

Specifies a non-zero timeout per retry attempt. Structure is documented below.

nanos
number
seconds
requiredstring
array

Specifies one or more conditions when this retry rule applies. Valid values are:

timeout
array
array

Specifies the timeout for the selected route. Timeout is computed from the time the request is has been fully processed (i.e. end-of-stream) up until the response has been completely processed. Timeout includes all retries. If not specified, the default value is 15 seconds. Structure is documented below.

nanos
number
seconds
requiredstring
array

The spec to modify the URL of the request, prior to forwarding the request to the matched service Structure is documented below.

array

A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non 0 number. Once a backendService is identified and before forwarding the request to the backend service, advanced routing actions like Url rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction. Structure is documented below.

backendService
requiredstring
array

Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. Structure is documented below.

array

Headers to add to a matching request prior to forwarding the request to the backendService. Structure is documented below.

headerName
requiredstring
headerValue
requiredstring
replace
requiredboolean
array

A list of header names for headers that need to be removed from the request prior to forwarding the request to the backendService.

array

Headers to add the response prior to sending the response back to the client. Structure is documented below.

headerName
requiredstring
headerValue
requiredstring
replace
requiredboolean
array

A list of header names for headers that need to be removed from the response prior to sending the response back to the client.

weight
requirednumber
service
string
object

Reference to a RegionBackendService in compute to populate service.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a RegionBackendService in compute to populate service.

policy
object
object

Policies for selection.

resolve
string
array

When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Structure is documented below.

project
string
region
requiredstring
test
array
array

The list of expected URL mappings. Requests to update this UrlMap will succeed only if all of the test cases pass. Structure is documented below.

host
requiredstring
path
requiredstring
service
string
object

Reference to a RegionBackendService in compute to populate service.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a RegionBackendService in compute to populate service.

policy
object
object

Policies for selection.

resolve
string
object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
requiredstring
namespace
requiredstring
status
object
object

RegionURLMapStatus defines the observed state of RegionURLMap.

object

No description provided.

id
string
mapId
number
selfLink
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.