diff --git a/linkerd.io/content/2-edge/reference/httproute.md b/linkerd.io/content/2-edge/reference/httproute.md index 75834d9884..18af20050d 100644 --- a/linkerd.io/content/2-edge/reference/httproute.md +++ b/linkerd.io/content/2-edge/reference/httproute.md @@ -110,23 +110,23 @@ GEP-1426][ns-boundaries] for details on producer and consumer routes. {{< /keyval >}} -### httpRouteRule +### HTTPRouteRule HTTPRouteRule defines semantics for matching an HTTP request based on conditions (matches) and processing it (filters). {{< keyval >}} -| field | value | -| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `matches` | A list of [httpRouteMatches](#httproutematch). Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | -| `filters` | A list of [httpRouteFilters](#httproutefilter) which will be applied to each request which matches this rule. | -| `backendRefs` | An array of [HTTPBackendRefs](#httpbackendref) to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | -| `timeouts` | An optional [httpRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | +| field | value | +| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `matches` | A list of [HTTPRouteMatch](#httproutematch) resources. Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | +| `filters` | A list of [HTTPRouteFilter](#httproutefilter) resources which will be applied to each request which matches this rule. | +| `backendRefs` | An array of [HTTPBackendRef](#httpbackendref) resources to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | +| `timeouts` | An optional [HTTPRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | {{< /keyval >}} -### httpRouteMatch +### HTTPRouteMatch HTTPRouteMatch defines the predicate used to match requests to a given action. Multiple match types are ANDed together, i.e. the match will evaluate to true @@ -136,14 +136,14 @@ only if all conditions are satisfied. | field | value | | ------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `path` | An [httpPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | -| `headers` | A list of [httpHeaderMatches](#httpheadermatch). Multiple match values are ANDed together. | -| `queryParams` | A list of [httpQueryParamMatches](#httpqueryparammatch). Multiple match values are ANDed together. | +| `path` | An [HTTPPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | +| `headers` | A list of [HTTPHeaderMatch](#httpheadermatch) resources. Multiple match values are ANDed together. | +| `queryParams` | A list of [HTTPQueryParamMatch](#httpqueryparammatch) resources. Multiple match values are ANDed together. | | `method` | When specified, this route will be matched only if the request has the specified method. | {{< /keyval >}} -### httpPathMatch +### HTTPPathMatch `HTTPPathMatch` describes how to select a HTTP route by matching the HTTP request path. @@ -157,7 +157,7 @@ request path. {{< /keyval >}} -### httpHeaderMatch +### HTTPHeaderMatch `HTTPHeaderMatch` describes how to select a HTTP route by matching HTTP request headers. @@ -172,7 +172,7 @@ headers. {{< /keyval >}} -### httpQueryParamMatch +### HTTPQueryParamMatch `HTTPQueryParamMatch` describes how to select a HTTP route by matching HTTP query parameters. @@ -187,7 +187,7 @@ query parameters. {{< /keyval >}} -### httpRouteFilter +### HTTPRouteFilter HTTPRouteFilter defines processing steps that must be completed during the request or response lifecycle. @@ -197,27 +197,27 @@ request or response lifecycle. | field | value | | ------------------------ | -------------------------------------------------------------------------- | | `type` | One of: RequestHeaderModifier, ResponseHeaderModifier, or RequestRedirect. | -| `requestHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies request headers. | -| `responseHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies response headers. | -| `requestRedirect` | An [httpRequestRedirectFilter](#httprequestredirectfilter). | +| `requestHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies request headers. | +| `responseHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies response headers. | +| `requestRedirect` | An [HTTPRequestRedirectFilter](#httprequestredirectfilter). | {{< /keyval >}} -### httpHeaderFilter +### HTTPHeaderFilter A filter which modifies HTTP request or response headers. {{< keyval >}} -| field | value | -| -------- | ----------------------------------------------------------------------------------------------------------- | -| `set` | A list of [httpHeaders](#httpheader) to overwrite on the request or response. | -| `add` | A list of [httpHeaders](#httpheader) to add on to the request or response, appending to any existing value. | -| `remove` | A list of header names to remove from the request or response. | +| field | value | +| -------- | -------------------------------------------------------------------------------------------------------------------- | +| `set` | A list of [HTTPHeader](#httpheader) resources to overwrite on the request or response. | +| `add` | A list of [HTTPHeader](#httpheader) resources to add on to the request or response, appending to any existing value. | +| `remove` | A list of header names to remove from the request or response. | {{< /keyval >}} -### httpHeader +### HTTPHeader `HTTPHeader` represents an HTTP Header name and value as defined by RFC 7230. @@ -230,23 +230,23 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpRequestRedirectFilter +### HTTPRequestRedirectFilter `HTTPRequestRedirect` defines a filter that redirects a request. {{< keyval >}} -| field | value | -| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | -| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | -| `path` | An [httpPathModfier](#httppathmodfier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | -| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | -| `statusCode` | The HTTP status code to be used in response. | +| field | value | +| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | +| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | +| `path` | An [HTTPPathModifier](#httppathmodifier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | +| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | +| `statusCode` | The HTTP status code to be used in response. | {{< /keyval >}} -### httpPathModfier +### HTTPPathModifier `HTTPPathModifier` defines configuration for path modifiers. @@ -260,7 +260,7 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpBackendRef +### HTTPBackendRef `HTTPBackendRef` defines the list of objects where matching requests should be sent to. Only allowed when a route has Service [parentRefs](#parentreference). @@ -276,7 +276,7 @@ sent to. Only allowed when a route has Service [parentRefs](#parentreference). {{< /keyval >}} -### httpRouteTimeouts +### HTTPRouteTimeouts `HTTPRouteTimeouts` defines the timeouts that can be configured for an HTTP request. diff --git a/linkerd.io/content/2.12/reference/authorization-policy.md b/linkerd.io/content/2.12/reference/authorization-policy.md index 42015b5d37..a66c7af988 100644 --- a/linkerd.io/content/2.12/reference/authorization-policy.md +++ b/linkerd.io/content/2.12/reference/authorization-policy.md @@ -188,21 +188,21 @@ A reference to the [Servers] this `HTTPRoute` is a part of. {{< /keyval >}} -#### httpRouteRule +#### HTTPRouteRule `HTTPRouteRule` defines semantics for matching an HTTP request based on conditions (matches) and processing it (filters). {{< keyval >}} -| field | value | -| --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `matches` | A list of [httpRouteMatches](#httproutematch). Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | -| `filters` | A list of [httpRouteFilters](#httproutefilter) which will be applied to each request which matches this rule. | +| field | value | +| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `matches` | A list of [HTTPRouteMatch](#httproutematch) resources. Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | +| `filters` | A list of [HTTPRouteFilter](#httproutefilter) resources which will be applied to each request which matches this rule. | {{< /keyval >}} -#### httpRouteMatch +#### HTTPRouteMatch `HTTPRouteMatch` defines the predicate used to match requests to a given action. Multiple match types are ANDed together, i.e. the match will evaluate to true @@ -212,14 +212,14 @@ only if all conditions are satisfied. | field | value | | ------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `path` | An [httpPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | -| `headers` | A list of [httpHeaderMatches](#httpheadermatch). Multiple match values are ANDed together. | -| `queryParams` | A list of [httpQueryParamMatches](#httpqueryparammatch). Multiple match values are ANDed together. | +| `path` | An [HTTPPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | +| `headers` | A list of [HTTPHeaderMatch](#httpheadermatch) resources. Multiple match values are ANDed together. | +| `queryParams` | A list of [HTTPQueryParamMatch](#httpqueryparammatch) resources. Multiple match values are ANDed together. | | `method` | When specified, this route will be matched only if the request has the specified method. | {{< /keyval >}} -#### httpPathMatch +#### HTTPPathMatch `HTTPPathMatch` describes how to select a HTTP route by matching the HTTP request path. @@ -233,7 +233,7 @@ request path. {{< /keyval >}} -#### httpHeaderMatch +#### HTTPHeaderMatch `HTTPHeaderMatch` describes how to select a HTTP route by matching HTTP request headers. @@ -248,7 +248,7 @@ headers. {{< /keyval >}} -#### httpQueryParamMatch +#### HTTPQueryParamMatch `HTTPQueryParamMatch` describes how to select a HTTP route by matching HTTP query parameters. @@ -263,7 +263,7 @@ query parameters. {{< /keyval >}} -#### httpRouteFilter +#### HTTPRouteFilter `HTTPRouteFilter` defines processing steps that must be completed during the request or response lifecycle. @@ -273,26 +273,26 @@ request or response lifecycle. | field | value | | ----------------------- | ----------------------------------------------------------- | | `type` | One of: RequestHeaderModifier, RequestRedirect. | -| `requestHeaderModifier` | An [httpRequestHeaderFilter](#httprequestheaderfilter). | -| `requestRedirect` | An [httpRequestRedirectFilter](#httprequestredirectfilter). | +| `requestHeaderModifier` | An [HTTPRequestHeaderFilter](#httprequestheaderfilter). | +| `requestRedirect` | An [HTTPRequestRedirectFilter](#httprequestredirectfilter). | {{< /keyval >}} -#### httpRequestHeaderFilter +#### HTTPRequestHeaderFilter A filter which modifies request headers. {{< keyval >}} -| field | value | -| -------- | -------------------------------------------------------------------------------------------- | -| `set` | A list of [httpHeaders](#httpheader) to overwrites on the request. | -| `add` | A list of [httpHeaders](#httpheader) to add on the request, appending to any existing value. | -| `remove` | A list of header names to remove from the request. | +| field | value | +| -------- | ----------------------------------------------------------------------------------------------------- | +| `set` | A list of [HTTPHeader](#httpheader) resources to overwrites on the request. | +| `add` | A list of [HTTPHeader](#httpheader) resources to add on the request, appending to any existing value. | +| `remove` | A list of header names to remove from the request. | {{< /keyval >}} -#### httpHeader +#### HTTPHeader `HTTPHeader` represents an HTTP Header name and value as defined by RFC 7230. @@ -305,23 +305,23 @@ A filter which modifies request headers. {{< /keyval >}} -#### httpRequestRedirectFilter +#### HTTPRequestRedirectFilter `HTTPRequestRedirect` defines a filter that redirects a request. {{< keyval >}} -| field | value | -| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | -| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | -| `path` | An [httpPathModfier](#httppathmodfier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | -| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | -| `statusCode` | The HTTP status code to be used in response. | +| field | value | +| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | +| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | +| `path` | An [HTTPPathModifier](#httppathmodifier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | +| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | +| `statusCode` | The HTTP status code to be used in response. | {{< /keyval >}} -#### httpPathModfier +#### HTTPPathModifier `HTTPPathModifier` defines configuration for path modifiers. diff --git a/linkerd.io/content/2.13/reference/httproute.md b/linkerd.io/content/2.13/reference/httproute.md index ca961e7aa5..e0c9f165b2 100644 --- a/linkerd.io/content/2.13/reference/httproute.md +++ b/linkerd.io/content/2.13/reference/httproute.md @@ -52,22 +52,22 @@ HTTPRoute configuration, as long as the ServiceProfile exists. {{< /keyval >}} -### httpRouteRule +### HTTPRouteRule HTTPRouteRule defines semantics for matching an HTTP request based on conditions (matches) and processing it (filters). {{< keyval >}} -| field | value | -| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `matches` | A list of [httpRouteMatches](#httproutematch). Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | -| `filters` | A list of [httpRouteFilters](#httproutefilter) which will be applied to each request which matches this rule. | -| `backendRefs` | An array of [HTTPBackendRefs](#httpbackendref) to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | +| field | value | +| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `matches` | A list of [HTTPRouteMatch](#httproutematch) resources. Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | +| `filters` | A list of [HTTPRouteFilter](#httproutefilter) resources which will be applied to each request which matches this rule. | +| `backendRefs` | An array of [HTTPBackendRef](#httpbackendref) resources to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | {{< /keyval >}} -### httpRouteMatch +### HTTPRouteMatch HTTPRouteMatch defines the predicate used to match requests to a given action. Multiple match types are ANDed together, i.e. the match will evaluate to true @@ -77,14 +77,14 @@ only if all conditions are satisfied. | field | value | | ------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `path` | An [httpPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | -| `headers` | A list of [httpHeaderMatches](#httpheadermatch). Multiple match values are ANDed together. | -| `queryParams` | A list of [httpQueryParamMatches](#httpqueryparammatch). Multiple match values are ANDed together. | +| `path` | An [HTTPPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | +| `headers` | A list of [HTTPHeaderMatch](#httpheadermatch) resources. Multiple match values are ANDed together. | +| `queryParams` | A list of [HTTPQueryParamMatch](#httpqueryparammatch) resources. Multiple match values are ANDed together. | | `method` | When specified, this route will be matched only if the request has the specified method. | {{< /keyval >}} -### httpPathMatch +### HTTPPathMatch `HTTPPathMatch` describes how to select a HTTP route by matching the HTTP request path. @@ -98,7 +98,7 @@ request path. {{< /keyval >}} -### httpHeaderMatch +### HTTPHeaderMatch `HTTPHeaderMatch` describes how to select a HTTP route by matching HTTP request headers. @@ -113,7 +113,7 @@ headers. {{< /keyval >}} -### httpQueryParamMatch +### HTTPQueryParamMatch `HTTPQueryParamMatch` describes how to select a HTTP route by matching HTTP query parameters. @@ -128,7 +128,7 @@ query parameters. {{< /keyval >}} -### httpRouteFilter +### HTTPRouteFilter HTTPRouteFilter defines processing steps that must be completed during the request or response lifecycle. @@ -138,26 +138,26 @@ request or response lifecycle. | field | value | | ----------------------- | ----------------------------------------------------------- | | `type` | One of: RequestHeaderModifier, RequestRedirect. | -| `requestHeaderModifier` | An [httpRequestHeaderFilter](#httprequestheaderfilter). | -| `requestRedirect` | An [httpRequestRedirectFilter](#httprequestredirectfilter). | +| `requestHeaderModifier` | An [HTTPRequestHeaderFilter](#httprequestheaderfilter). | +| `requestRedirect` | An [HTTPRequestRedirectFilter](#httprequestredirectfilter). | {{< /keyval >}} -### httpRequestHeaderFilter +### HTTPRequestHeaderFilter A filter which modifies request headers. {{< keyval >}} -| field | value | -| -------- | -------------------------------------------------------------------------------------------- | -| `set` | A list of [httpHeaders](#httpheader) to overwrites on the request. | -| `add` | A list of [httpHeaders](#httpheader) to add on the request, appending to any existing value. | -| `remove` | A list of header names to remove from the request. | +| field | value | +| -------- | ----------------------------------------------------------------------------------------------------- | +| `set` | A list of [HTTPHeader](#httpheader) resources to overwrites on the request. | +| `add` | A list of [HTTPHeader](#httpheader) resources to add on the request, appending to any existing value. | +| `remove` | A list of header names to remove from the request. | {{< /keyval >}} -### httpHeader +### HTTPHeader `HTTPHeader` represents an HTTP Header name and value as defined by RFC 7230. @@ -170,23 +170,23 @@ A filter which modifies request headers. {{< /keyval >}} -### httpRequestRedirectFilter +### HTTPRequestRedirectFilter `HTTPRequestRedirect` defines a filter that redirects a request. {{< keyval >}} -| field | value | -| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | -| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | -| `path` | An [httpPathModfier](#httppathmodfier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | -| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | -| `statusCode` | The HTTP status code to be used in response. | +| field | value | +| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | +| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | +| `path` | An [HTTPPathModifier](#httppathmodifier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | +| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | +| `statusCode` | The HTTP status code to be used in response. | {{< /keyval >}} -### httpPathModfier +### HTTPPathModifier `HTTPPathModifier` defines configuration for path modifiers. @@ -200,7 +200,7 @@ A filter which modifies request headers. {{< /keyval >}} -### httpBackendRef +### HTTPBackendRef `HTTPBackendRef` defines the list of objects where matching requests should be sent to. Only allowed when a route has Service [parentRefs](#parentreference). diff --git a/linkerd.io/content/2.14/reference/httproute.md b/linkerd.io/content/2.14/reference/httproute.md index 12e702f9bc..67b0b24ced 100644 --- a/linkerd.io/content/2.14/reference/httproute.md +++ b/linkerd.io/content/2.14/reference/httproute.md @@ -83,23 +83,23 @@ GEP-1426][ns-boundaries] for details on producer and consumer routes. {{< /keyval >}} -### httpRouteRule +### HTTPRouteRule HTTPRouteRule defines semantics for matching an HTTP request based on conditions (matches) and processing it (filters). {{< keyval >}} -| field | value | -| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `matches` | A list of [httpRouteMatches](#httproutematch). Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | -| `filters` | A list of [httpRouteFilters](#httproutefilter) which will be applied to each request which matches this rule. | -| `backendRefs` | An array of [HTTPBackendRefs](#httpbackendref) to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | -| `timeouts` | An optional [httpRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | +| field | value | +| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `matches` | A list of [HTTPRouteMatch](#httproutematch) resources. Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | +| `filters` | A list of [HTTPRouteFilter](#httproutefilter) resources which will be applied to each request which matches this rule. | +| `backendRefs` | An array of [HTTPBackendRef](#httpbackendref) resources to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | +| `timeouts` | An optional [HTTPRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | {{< /keyval >}} -### httpRouteMatch +### HTTPRouteMatch HTTPRouteMatch defines the predicate used to match requests to a given action. Multiple match types are ANDed together, i.e. the match will evaluate to true @@ -109,14 +109,14 @@ only if all conditions are satisfied. | field | value | | ------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `path` | An [httpPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | -| `headers` | A list of [httpHeaderMatches](#httpheadermatch). Multiple match values are ANDed together. | -| `queryParams` | A list of [httpQueryParamMatches](#httpqueryparammatch). Multiple match values are ANDed together. | +| `path` | An [HTTPPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | +| `headers` | A list of [HTTPHeaderMatch](#httpheadermatch) resources. Multiple match values are ANDed together. | +| `queryParams` | A list of [HTTPQueryParamMatch](#httpqueryparammatch) resources. Multiple match values are ANDed together. | | `method` | When specified, this route will be matched only if the request has the specified method. | {{< /keyval >}} -### httpPathMatch +### HTTPPathMatch `HTTPPathMatch` describes how to select a HTTP route by matching the HTTP request path. @@ -130,7 +130,7 @@ request path. {{< /keyval >}} -### httpHeaderMatch +### HTTPHeaderMatch `HTTPHeaderMatch` describes how to select a HTTP route by matching HTTP request headers. @@ -145,7 +145,7 @@ headers. {{< /keyval >}} -### httpQueryParamMatch +### HTTPQueryParamMatch `HTTPQueryParamMatch` describes how to select a HTTP route by matching HTTP query parameters. @@ -160,7 +160,7 @@ query parameters. {{< /keyval >}} -### httpRouteFilter +### HTTPRouteFilter HTTPRouteFilter defines processing steps that must be completed during the request or response lifecycle. @@ -170,27 +170,27 @@ request or response lifecycle. | field | value | | ------------------------ | -------------------------------------------------------------------------- | | `type` | One of: RequestHeaderModifier, ResponseHeaderModifier, or RequestRedirect. | -| `requestHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies request headers. | -| `responseHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies response headers. | -| `requestRedirect` | An [httpRequestRedirectFilter](#httprequestredirectfilter). | +| `requestHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies request headers. | +| `responseHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies response headers. | +| `requestRedirect` | An [HTTPRequestRedirectFilter](#httprequestredirectfilter). | {{< /keyval >}} -### httpHeaderFilter +### HTTPHeaderFilter A filter which modifies HTTP request or response headers. {{< keyval >}} -| field | value | -| -------- | ----------------------------------------------------------------------------------------------------------- | -| `set` | A list of [httpHeaders](#httpheader) to overwrite on the request or response. | -| `add` | A list of [httpHeaders](#httpheader) to add on to the request or response, appending to any existing value. | -| `remove` | A list of header names to remove from the request or response. | +| field | value | +| -------- | -------------------------------------------------------------------------------------------------------------------- | +| `set` | A list of [HTTPHeader](#httpheader) resources to overwrite on the request or response. | +| `add` | A list of [HTTPHeader](#httpheader) resources to add on to the request or response, appending to any existing value. | +| `remove` | A list of header names to remove from the request or response. | {{< /keyval >}} -### httpHeader +### HTTPHeader `HTTPHeader` represents an HTTP Header name and value as defined by RFC 7230. @@ -203,23 +203,23 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpRequestRedirectFilter +### HTTPRequestRedirectFilter `HTTPRequestRedirect` defines a filter that redirects a request. {{< keyval >}} -| field | value | -| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | -| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | -| `path` | An [httpPathModfier](#httppathmodfier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | -| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | -| `statusCode` | The HTTP status code to be used in response. | +| field | value | +| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | +| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | +| `path` | An [HTTPPathModifier](#httppathmodifier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | +| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | +| `statusCode` | The HTTP status code to be used in response. | {{< /keyval >}} -### httpPathModfier +### HTTPPathModifier `HTTPPathModifier` defines configuration for path modifiers. @@ -233,7 +233,7 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpBackendRef +### HTTPBackendRef `HTTPBackendRef` defines the list of objects where matching requests should be sent to. Only allowed when a route has Service [parentRefs](#parentreference). @@ -249,7 +249,7 @@ sent to. Only allowed when a route has Service [parentRefs](#parentreference). {{< /keyval >}} -### httpRouteTimeouts +### HTTPRouteTimeouts `HTTPRouteTimeouts` defines the timeouts that can be configured for an HTTP request. diff --git a/linkerd.io/content/2.15/reference/httproute.md b/linkerd.io/content/2.15/reference/httproute.md index 12e702f9bc..67b0b24ced 100644 --- a/linkerd.io/content/2.15/reference/httproute.md +++ b/linkerd.io/content/2.15/reference/httproute.md @@ -83,23 +83,23 @@ GEP-1426][ns-boundaries] for details on producer and consumer routes. {{< /keyval >}} -### httpRouteRule +### HTTPRouteRule HTTPRouteRule defines semantics for matching an HTTP request based on conditions (matches) and processing it (filters). {{< keyval >}} -| field | value | -| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `matches` | A list of [httpRouteMatches](#httproutematch). Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | -| `filters` | A list of [httpRouteFilters](#httproutefilter) which will be applied to each request which matches this rule. | -| `backendRefs` | An array of [HTTPBackendRefs](#httpbackendref) to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | -| `timeouts` | An optional [httpRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | +| field | value | +| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `matches` | A list of [HTTPRouteMatch](#httproutematch) resources. Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | +| `filters` | A list of [HTTPRouteFilter](#httproutefilter) resources which will be applied to each request which matches this rule. | +| `backendRefs` | An array of [HTTPBackendRef](#httpbackendref) resources to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | +| `timeouts` | An optional [HTTPRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | {{< /keyval >}} -### httpRouteMatch +### HTTPRouteMatch HTTPRouteMatch defines the predicate used to match requests to a given action. Multiple match types are ANDed together, i.e. the match will evaluate to true @@ -109,14 +109,14 @@ only if all conditions are satisfied. | field | value | | ------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `path` | An [httpPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | -| `headers` | A list of [httpHeaderMatches](#httpheadermatch). Multiple match values are ANDed together. | -| `queryParams` | A list of [httpQueryParamMatches](#httpqueryparammatch). Multiple match values are ANDed together. | +| `path` | An [HTTPPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | +| `headers` | A list of [HTTPHeaderMatch](#httpheadermatch) resources. Multiple match values are ANDed together. | +| `queryParams` | A list of [HTTPQueryParamMatch](#httpqueryparammatch) resources. Multiple match values are ANDed together. | | `method` | When specified, this route will be matched only if the request has the specified method. | {{< /keyval >}} -### httpPathMatch +### HTTPPathMatch `HTTPPathMatch` describes how to select a HTTP route by matching the HTTP request path. @@ -130,7 +130,7 @@ request path. {{< /keyval >}} -### httpHeaderMatch +### HTTPHeaderMatch `HTTPHeaderMatch` describes how to select a HTTP route by matching HTTP request headers. @@ -145,7 +145,7 @@ headers. {{< /keyval >}} -### httpQueryParamMatch +### HTTPQueryParamMatch `HTTPQueryParamMatch` describes how to select a HTTP route by matching HTTP query parameters. @@ -160,7 +160,7 @@ query parameters. {{< /keyval >}} -### httpRouteFilter +### HTTPRouteFilter HTTPRouteFilter defines processing steps that must be completed during the request or response lifecycle. @@ -170,27 +170,27 @@ request or response lifecycle. | field | value | | ------------------------ | -------------------------------------------------------------------------- | | `type` | One of: RequestHeaderModifier, ResponseHeaderModifier, or RequestRedirect. | -| `requestHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies request headers. | -| `responseHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies response headers. | -| `requestRedirect` | An [httpRequestRedirectFilter](#httprequestredirectfilter). | +| `requestHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies request headers. | +| `responseHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies response headers. | +| `requestRedirect` | An [HTTPRequestRedirectFilter](#httprequestredirectfilter). | {{< /keyval >}} -### httpHeaderFilter +### HTTPHeaderFilter A filter which modifies HTTP request or response headers. {{< keyval >}} -| field | value | -| -------- | ----------------------------------------------------------------------------------------------------------- | -| `set` | A list of [httpHeaders](#httpheader) to overwrite on the request or response. | -| `add` | A list of [httpHeaders](#httpheader) to add on to the request or response, appending to any existing value. | -| `remove` | A list of header names to remove from the request or response. | +| field | value | +| -------- | -------------------------------------------------------------------------------------------------------------------- | +| `set` | A list of [HTTPHeader](#httpheader) resources to overwrite on the request or response. | +| `add` | A list of [HTTPHeader](#httpheader) resources to add on to the request or response, appending to any existing value. | +| `remove` | A list of header names to remove from the request or response. | {{< /keyval >}} -### httpHeader +### HTTPHeader `HTTPHeader` represents an HTTP Header name and value as defined by RFC 7230. @@ -203,23 +203,23 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpRequestRedirectFilter +### HTTPRequestRedirectFilter `HTTPRequestRedirect` defines a filter that redirects a request. {{< keyval >}} -| field | value | -| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | -| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | -| `path` | An [httpPathModfier](#httppathmodfier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | -| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | -| `statusCode` | The HTTP status code to be used in response. | +| field | value | +| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | +| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | +| `path` | An [HTTPPathModifier](#httppathmodifier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | +| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | +| `statusCode` | The HTTP status code to be used in response. | {{< /keyval >}} -### httpPathModfier +### HTTPPathModifier `HTTPPathModifier` defines configuration for path modifiers. @@ -233,7 +233,7 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpBackendRef +### HTTPBackendRef `HTTPBackendRef` defines the list of objects where matching requests should be sent to. Only allowed when a route has Service [parentRefs](#parentreference). @@ -249,7 +249,7 @@ sent to. Only allowed when a route has Service [parentRefs](#parentreference). {{< /keyval >}} -### httpRouteTimeouts +### HTTPRouteTimeouts `HTTPRouteTimeouts` defines the timeouts that can be configured for an HTTP request. diff --git a/linkerd.io/content/2.16/reference/httproute.md b/linkerd.io/content/2.16/reference/httproute.md index 75834d9884..18af20050d 100644 --- a/linkerd.io/content/2.16/reference/httproute.md +++ b/linkerd.io/content/2.16/reference/httproute.md @@ -110,23 +110,23 @@ GEP-1426][ns-boundaries] for details on producer and consumer routes. {{< /keyval >}} -### httpRouteRule +### HTTPRouteRule HTTPRouteRule defines semantics for matching an HTTP request based on conditions (matches) and processing it (filters). {{< keyval >}} -| field | value | -| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `matches` | A list of [httpRouteMatches](#httproutematch). Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | -| `filters` | A list of [httpRouteFilters](#httproutefilter) which will be applied to each request which matches this rule. | -| `backendRefs` | An array of [HTTPBackendRefs](#httpbackendref) to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | -| `timeouts` | An optional [httpRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | +| field | value | +| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `matches` | A list of [HTTPRouteMatch](#httproutematch) resources. Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | +| `filters` | A list of [HTTPRouteFilter](#httproutefilter) resources which will be applied to each request which matches this rule. | +| `backendRefs` | An array of [HTTPBackendRef](#httpbackendref) resources to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | +| `timeouts` | An optional [HTTPRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | {{< /keyval >}} -### httpRouteMatch +### HTTPRouteMatch HTTPRouteMatch defines the predicate used to match requests to a given action. Multiple match types are ANDed together, i.e. the match will evaluate to true @@ -136,14 +136,14 @@ only if all conditions are satisfied. | field | value | | ------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `path` | An [httpPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | -| `headers` | A list of [httpHeaderMatches](#httpheadermatch). Multiple match values are ANDed together. | -| `queryParams` | A list of [httpQueryParamMatches](#httpqueryparammatch). Multiple match values are ANDed together. | +| `path` | An [HTTPPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | +| `headers` | A list of [HTTPHeaderMatch](#httpheadermatch) resources. Multiple match values are ANDed together. | +| `queryParams` | A list of [HTTPQueryParamMatch](#httpqueryparammatch) resources. Multiple match values are ANDed together. | | `method` | When specified, this route will be matched only if the request has the specified method. | {{< /keyval >}} -### httpPathMatch +### HTTPPathMatch `HTTPPathMatch` describes how to select a HTTP route by matching the HTTP request path. @@ -157,7 +157,7 @@ request path. {{< /keyval >}} -### httpHeaderMatch +### HTTPHeaderMatch `HTTPHeaderMatch` describes how to select a HTTP route by matching HTTP request headers. @@ -172,7 +172,7 @@ headers. {{< /keyval >}} -### httpQueryParamMatch +### HTTPQueryParamMatch `HTTPQueryParamMatch` describes how to select a HTTP route by matching HTTP query parameters. @@ -187,7 +187,7 @@ query parameters. {{< /keyval >}} -### httpRouteFilter +### HTTPRouteFilter HTTPRouteFilter defines processing steps that must be completed during the request or response lifecycle. @@ -197,27 +197,27 @@ request or response lifecycle. | field | value | | ------------------------ | -------------------------------------------------------------------------- | | `type` | One of: RequestHeaderModifier, ResponseHeaderModifier, or RequestRedirect. | -| `requestHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies request headers. | -| `responseHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies response headers. | -| `requestRedirect` | An [httpRequestRedirectFilter](#httprequestredirectfilter). | +| `requestHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies request headers. | +| `responseHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies response headers. | +| `requestRedirect` | An [HTTPRequestRedirectFilter](#httprequestredirectfilter). | {{< /keyval >}} -### httpHeaderFilter +### HTTPHeaderFilter A filter which modifies HTTP request or response headers. {{< keyval >}} -| field | value | -| -------- | ----------------------------------------------------------------------------------------------------------- | -| `set` | A list of [httpHeaders](#httpheader) to overwrite on the request or response. | -| `add` | A list of [httpHeaders](#httpheader) to add on to the request or response, appending to any existing value. | -| `remove` | A list of header names to remove from the request or response. | +| field | value | +| -------- | -------------------------------------------------------------------------------------------------------------------- | +| `set` | A list of [HTTPHeader](#httpheader) resources to overwrite on the request or response. | +| `add` | A list of [HTTPHeader](#httpheader) resources to add on to the request or response, appending to any existing value. | +| `remove` | A list of header names to remove from the request or response. | {{< /keyval >}} -### httpHeader +### HTTPHeader `HTTPHeader` represents an HTTP Header name and value as defined by RFC 7230. @@ -230,23 +230,23 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpRequestRedirectFilter +### HTTPRequestRedirectFilter `HTTPRequestRedirect` defines a filter that redirects a request. {{< keyval >}} -| field | value | -| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | -| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | -| `path` | An [httpPathModfier](#httppathmodfier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | -| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | -| `statusCode` | The HTTP status code to be used in response. | +| field | value | +| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | +| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | +| `path` | An [HTTPPathModifier](#httppathmodifier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | +| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | +| `statusCode` | The HTTP status code to be used in response. | {{< /keyval >}} -### httpPathModfier +### HTTPPathModifier `HTTPPathModifier` defines configuration for path modifiers. @@ -260,7 +260,7 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpBackendRef +### HTTPBackendRef `HTTPBackendRef` defines the list of objects where matching requests should be sent to. Only allowed when a route has Service [parentRefs](#parentreference). @@ -276,7 +276,7 @@ sent to. Only allowed when a route has Service [parentRefs](#parentreference). {{< /keyval >}} -### httpRouteTimeouts +### HTTPRouteTimeouts `HTTPRouteTimeouts` defines the timeouts that can be configured for an HTTP request. diff --git a/linkerd.io/content/2.17/reference/httproute.md b/linkerd.io/content/2.17/reference/httproute.md index 75834d9884..18af20050d 100644 --- a/linkerd.io/content/2.17/reference/httproute.md +++ b/linkerd.io/content/2.17/reference/httproute.md @@ -110,23 +110,23 @@ GEP-1426][ns-boundaries] for details on producer and consumer routes. {{< /keyval >}} -### httpRouteRule +### HTTPRouteRule HTTPRouteRule defines semantics for matching an HTTP request based on conditions (matches) and processing it (filters). {{< keyval >}} -| field | value | -| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `matches` | A list of [httpRouteMatches](#httproutematch). Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | -| `filters` | A list of [httpRouteFilters](#httproutefilter) which will be applied to each request which matches this rule. | -| `backendRefs` | An array of [HTTPBackendRefs](#httpbackendref) to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | -| `timeouts` | An optional [httpRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | +| field | value | +| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `matches` | A list of [HTTPRouteMatch](#httproutematch) resources. Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | +| `filters` | A list of [HTTPRouteFilter](#httproutefilter) resources which will be applied to each request which matches this rule. | +| `backendRefs` | An array of [HTTPBackendRef](#httpbackendref) resources to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | +| `timeouts` | An optional [HTTPRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | {{< /keyval >}} -### httpRouteMatch +### HTTPRouteMatch HTTPRouteMatch defines the predicate used to match requests to a given action. Multiple match types are ANDed together, i.e. the match will evaluate to true @@ -136,14 +136,14 @@ only if all conditions are satisfied. | field | value | | ------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `path` | An [httpPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | -| `headers` | A list of [httpHeaderMatches](#httpheadermatch). Multiple match values are ANDed together. | -| `queryParams` | A list of [httpQueryParamMatches](#httpqueryparammatch). Multiple match values are ANDed together. | +| `path` | An [HTTPPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | +| `headers` | A list of [HTTPHeaderMatch](#httpheadermatch) resources. Multiple match values are ANDed together. | +| `queryParams` | A list of [HTTPQueryParamMatch](#httpqueryparammatch) resources. Multiple match values are ANDed together. | | `method` | When specified, this route will be matched only if the request has the specified method. | {{< /keyval >}} -### httpPathMatch +### HTTPPathMatch `HTTPPathMatch` describes how to select a HTTP route by matching the HTTP request path. @@ -157,7 +157,7 @@ request path. {{< /keyval >}} -### httpHeaderMatch +### HTTPHeaderMatch `HTTPHeaderMatch` describes how to select a HTTP route by matching HTTP request headers. @@ -172,7 +172,7 @@ headers. {{< /keyval >}} -### httpQueryParamMatch +### HTTPQueryParamMatch `HTTPQueryParamMatch` describes how to select a HTTP route by matching HTTP query parameters. @@ -187,7 +187,7 @@ query parameters. {{< /keyval >}} -### httpRouteFilter +### HTTPRouteFilter HTTPRouteFilter defines processing steps that must be completed during the request or response lifecycle. @@ -197,27 +197,27 @@ request or response lifecycle. | field | value | | ------------------------ | -------------------------------------------------------------------------- | | `type` | One of: RequestHeaderModifier, ResponseHeaderModifier, or RequestRedirect. | -| `requestHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies request headers. | -| `responseHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies response headers. | -| `requestRedirect` | An [httpRequestRedirectFilter](#httprequestredirectfilter). | +| `requestHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies request headers. | +| `responseHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies response headers. | +| `requestRedirect` | An [HTTPRequestRedirectFilter](#httprequestredirectfilter). | {{< /keyval >}} -### httpHeaderFilter +### HTTPHeaderFilter A filter which modifies HTTP request or response headers. {{< keyval >}} -| field | value | -| -------- | ----------------------------------------------------------------------------------------------------------- | -| `set` | A list of [httpHeaders](#httpheader) to overwrite on the request or response. | -| `add` | A list of [httpHeaders](#httpheader) to add on to the request or response, appending to any existing value. | -| `remove` | A list of header names to remove from the request or response. | +| field | value | +| -------- | -------------------------------------------------------------------------------------------------------------------- | +| `set` | A list of [HTTPHeader](#httpheader) resources to overwrite on the request or response. | +| `add` | A list of [HTTPHeader](#httpheader) resources to add on to the request or response, appending to any existing value. | +| `remove` | A list of header names to remove from the request or response. | {{< /keyval >}} -### httpHeader +### HTTPHeader `HTTPHeader` represents an HTTP Header name and value as defined by RFC 7230. @@ -230,23 +230,23 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpRequestRedirectFilter +### HTTPRequestRedirectFilter `HTTPRequestRedirect` defines a filter that redirects a request. {{< keyval >}} -| field | value | -| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | -| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | -| `path` | An [httpPathModfier](#httppathmodfier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | -| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | -| `statusCode` | The HTTP status code to be used in response. | +| field | value | +| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | +| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | +| `path` | An [HTTPPathModifier](#httppathmodifier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | +| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | +| `statusCode` | The HTTP status code to be used in response. | {{< /keyval >}} -### httpPathModfier +### HTTPPathModifier `HTTPPathModifier` defines configuration for path modifiers. @@ -260,7 +260,7 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpBackendRef +### HTTPBackendRef `HTTPBackendRef` defines the list of objects where matching requests should be sent to. Only allowed when a route has Service [parentRefs](#parentreference). @@ -276,7 +276,7 @@ sent to. Only allowed when a route has Service [parentRefs](#parentreference). {{< /keyval >}} -### httpRouteTimeouts +### HTTPRouteTimeouts `HTTPRouteTimeouts` defines the timeouts that can be configured for an HTTP request. diff --git a/linkerd.io/content/2.18/reference/httproute.md b/linkerd.io/content/2.18/reference/httproute.md index 75834d9884..18af20050d 100644 --- a/linkerd.io/content/2.18/reference/httproute.md +++ b/linkerd.io/content/2.18/reference/httproute.md @@ -110,23 +110,23 @@ GEP-1426][ns-boundaries] for details on producer and consumer routes. {{< /keyval >}} -### httpRouteRule +### HTTPRouteRule HTTPRouteRule defines semantics for matching an HTTP request based on conditions (matches) and processing it (filters). {{< keyval >}} -| field | value | -| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `matches` | A list of [httpRouteMatches](#httproutematch). Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | -| `filters` | A list of [httpRouteFilters](#httproutefilter) which will be applied to each request which matches this rule. | -| `backendRefs` | An array of [HTTPBackendRefs](#httpbackendref) to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | -| `timeouts` | An optional [httpRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | +| field | value | +| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `matches` | A list of [HTTPRouteMatch](#httproutematch) resources. Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | +| `filters` | A list of [HTTPRouteFilter](#httproutefilter) resources which will be applied to each request which matches this rule. | +| `backendRefs` | An array of [HTTPBackendRef](#httpbackendref) resources to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | +| `timeouts` | An optional [HTTPRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | {{< /keyval >}} -### httpRouteMatch +### HTTPRouteMatch HTTPRouteMatch defines the predicate used to match requests to a given action. Multiple match types are ANDed together, i.e. the match will evaluate to true @@ -136,14 +136,14 @@ only if all conditions are satisfied. | field | value | | ------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `path` | An [httpPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | -| `headers` | A list of [httpHeaderMatches](#httpheadermatch). Multiple match values are ANDed together. | -| `queryParams` | A list of [httpQueryParamMatches](#httpqueryparammatch). Multiple match values are ANDed together. | +| `path` | An [HTTPPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | +| `headers` | A list of [HTTPHeaderMatch](#httpheadermatch) resources. Multiple match values are ANDed together. | +| `queryParams` | A list of [HTTPQueryParamMatch](#httpqueryparammatch) resources. Multiple match values are ANDed together. | | `method` | When specified, this route will be matched only if the request has the specified method. | {{< /keyval >}} -### httpPathMatch +### HTTPPathMatch `HTTPPathMatch` describes how to select a HTTP route by matching the HTTP request path. @@ -157,7 +157,7 @@ request path. {{< /keyval >}} -### httpHeaderMatch +### HTTPHeaderMatch `HTTPHeaderMatch` describes how to select a HTTP route by matching HTTP request headers. @@ -172,7 +172,7 @@ headers. {{< /keyval >}} -### httpQueryParamMatch +### HTTPQueryParamMatch `HTTPQueryParamMatch` describes how to select a HTTP route by matching HTTP query parameters. @@ -187,7 +187,7 @@ query parameters. {{< /keyval >}} -### httpRouteFilter +### HTTPRouteFilter HTTPRouteFilter defines processing steps that must be completed during the request or response lifecycle. @@ -197,27 +197,27 @@ request or response lifecycle. | field | value | | ------------------------ | -------------------------------------------------------------------------- | | `type` | One of: RequestHeaderModifier, ResponseHeaderModifier, or RequestRedirect. | -| `requestHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies request headers. | -| `responseHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies response headers. | -| `requestRedirect` | An [httpRequestRedirectFilter](#httprequestredirectfilter). | +| `requestHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies request headers. | +| `responseHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies response headers. | +| `requestRedirect` | An [HTTPRequestRedirectFilter](#httprequestredirectfilter). | {{< /keyval >}} -### httpHeaderFilter +### HTTPHeaderFilter A filter which modifies HTTP request or response headers. {{< keyval >}} -| field | value | -| -------- | ----------------------------------------------------------------------------------------------------------- | -| `set` | A list of [httpHeaders](#httpheader) to overwrite on the request or response. | -| `add` | A list of [httpHeaders](#httpheader) to add on to the request or response, appending to any existing value. | -| `remove` | A list of header names to remove from the request or response. | +| field | value | +| -------- | -------------------------------------------------------------------------------------------------------------------- | +| `set` | A list of [HTTPHeader](#httpheader) resources to overwrite on the request or response. | +| `add` | A list of [HTTPHeader](#httpheader) resources to add on to the request or response, appending to any existing value. | +| `remove` | A list of header names to remove from the request or response. | {{< /keyval >}} -### httpHeader +### HTTPHeader `HTTPHeader` represents an HTTP Header name and value as defined by RFC 7230. @@ -230,23 +230,23 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpRequestRedirectFilter +### HTTPRequestRedirectFilter `HTTPRequestRedirect` defines a filter that redirects a request. {{< keyval >}} -| field | value | -| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | -| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | -| `path` | An [httpPathModfier](#httppathmodfier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | -| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | -| `statusCode` | The HTTP status code to be used in response. | +| field | value | +| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | +| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | +| `path` | An [HTTPPathModifier](#httppathmodifier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | +| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | +| `statusCode` | The HTTP status code to be used in response. | {{< /keyval >}} -### httpPathModfier +### HTTPPathModifier `HTTPPathModifier` defines configuration for path modifiers. @@ -260,7 +260,7 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpBackendRef +### HTTPBackendRef `HTTPBackendRef` defines the list of objects where matching requests should be sent to. Only allowed when a route has Service [parentRefs](#parentreference). @@ -276,7 +276,7 @@ sent to. Only allowed when a route has Service [parentRefs](#parentreference). {{< /keyval >}} -### httpRouteTimeouts +### HTTPRouteTimeouts `HTTPRouteTimeouts` defines the timeouts that can be configured for an HTTP request. diff --git a/linkerd.io/content/2.19/reference/httproute.md b/linkerd.io/content/2.19/reference/httproute.md index 75834d9884..18af20050d 100644 --- a/linkerd.io/content/2.19/reference/httproute.md +++ b/linkerd.io/content/2.19/reference/httproute.md @@ -110,23 +110,23 @@ GEP-1426][ns-boundaries] for details on producer and consumer routes. {{< /keyval >}} -### httpRouteRule +### HTTPRouteRule HTTPRouteRule defines semantics for matching an HTTP request based on conditions (matches) and processing it (filters). {{< keyval >}} -| field | value | -| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `matches` | A list of [httpRouteMatches](#httproutematch). Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | -| `filters` | A list of [httpRouteFilters](#httproutefilter) which will be applied to each request which matches this rule. | -| `backendRefs` | An array of [HTTPBackendRefs](#httpbackendref) to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | -| `timeouts` | An optional [httpRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | +| field | value | +| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `matches` | A list of [HTTPRouteMatch](#httproutematch) resources. Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | +| `filters` | A list of [HTTPRouteFilter](#httproutefilter) resources which will be applied to each request which matches this rule. | +| `backendRefs` | An array of [HTTPBackendRef](#httpbackendref) resources to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | +| `timeouts` | An optional [HTTPRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | {{< /keyval >}} -### httpRouteMatch +### HTTPRouteMatch HTTPRouteMatch defines the predicate used to match requests to a given action. Multiple match types are ANDed together, i.e. the match will evaluate to true @@ -136,14 +136,14 @@ only if all conditions are satisfied. | field | value | | ------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `path` | An [httpPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | -| `headers` | A list of [httpHeaderMatches](#httpheadermatch). Multiple match values are ANDed together. | -| `queryParams` | A list of [httpQueryParamMatches](#httpqueryparammatch). Multiple match values are ANDed together. | +| `path` | An [HTTPPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | +| `headers` | A list of [HTTPHeaderMatch](#httpheadermatch) resources. Multiple match values are ANDed together. | +| `queryParams` | A list of [HTTPQueryParamMatch](#httpqueryparammatch) resources. Multiple match values are ANDed together. | | `method` | When specified, this route will be matched only if the request has the specified method. | {{< /keyval >}} -### httpPathMatch +### HTTPPathMatch `HTTPPathMatch` describes how to select a HTTP route by matching the HTTP request path. @@ -157,7 +157,7 @@ request path. {{< /keyval >}} -### httpHeaderMatch +### HTTPHeaderMatch `HTTPHeaderMatch` describes how to select a HTTP route by matching HTTP request headers. @@ -172,7 +172,7 @@ headers. {{< /keyval >}} -### httpQueryParamMatch +### HTTPQueryParamMatch `HTTPQueryParamMatch` describes how to select a HTTP route by matching HTTP query parameters. @@ -187,7 +187,7 @@ query parameters. {{< /keyval >}} -### httpRouteFilter +### HTTPRouteFilter HTTPRouteFilter defines processing steps that must be completed during the request or response lifecycle. @@ -197,27 +197,27 @@ request or response lifecycle. | field | value | | ------------------------ | -------------------------------------------------------------------------- | | `type` | One of: RequestHeaderModifier, ResponseHeaderModifier, or RequestRedirect. | -| `requestHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies request headers. | -| `responseHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies response headers. | -| `requestRedirect` | An [httpRequestRedirectFilter](#httprequestredirectfilter). | +| `requestHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies request headers. | +| `responseHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies response headers. | +| `requestRedirect` | An [HTTPRequestRedirectFilter](#httprequestredirectfilter). | {{< /keyval >}} -### httpHeaderFilter +### HTTPHeaderFilter A filter which modifies HTTP request or response headers. {{< keyval >}} -| field | value | -| -------- | ----------------------------------------------------------------------------------------------------------- | -| `set` | A list of [httpHeaders](#httpheader) to overwrite on the request or response. | -| `add` | A list of [httpHeaders](#httpheader) to add on to the request or response, appending to any existing value. | -| `remove` | A list of header names to remove from the request or response. | +| field | value | +| -------- | -------------------------------------------------------------------------------------------------------------------- | +| `set` | A list of [HTTPHeader](#httpheader) resources to overwrite on the request or response. | +| `add` | A list of [HTTPHeader](#httpheader) resources to add on to the request or response, appending to any existing value. | +| `remove` | A list of header names to remove from the request or response. | {{< /keyval >}} -### httpHeader +### HTTPHeader `HTTPHeader` represents an HTTP Header name and value as defined by RFC 7230. @@ -230,23 +230,23 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpRequestRedirectFilter +### HTTPRequestRedirectFilter `HTTPRequestRedirect` defines a filter that redirects a request. {{< keyval >}} -| field | value | -| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | -| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | -| `path` | An [httpPathModfier](#httppathmodfier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | -| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | -| `statusCode` | The HTTP status code to be used in response. | +| field | value | +| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | +| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | +| `path` | An [HTTPPathModifier](#httppathmodifier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | +| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | +| `statusCode` | The HTTP status code to be used in response. | {{< /keyval >}} -### httpPathModfier +### HTTPPathModifier `HTTPPathModifier` defines configuration for path modifiers. @@ -260,7 +260,7 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpBackendRef +### HTTPBackendRef `HTTPBackendRef` defines the list of objects where matching requests should be sent to. Only allowed when a route has Service [parentRefs](#parentreference). @@ -276,7 +276,7 @@ sent to. Only allowed when a route has Service [parentRefs](#parentreference). {{< /keyval >}} -### httpRouteTimeouts +### HTTPRouteTimeouts `HTTPRouteTimeouts` defines the timeouts that can be configured for an HTTP request. diff --git a/linkerd.io/content/docs/reference/httproute.md b/linkerd.io/content/docs/reference/httproute.md index 75834d9884..18af20050d 100644 --- a/linkerd.io/content/docs/reference/httproute.md +++ b/linkerd.io/content/docs/reference/httproute.md @@ -110,23 +110,23 @@ GEP-1426][ns-boundaries] for details on producer and consumer routes. {{< /keyval >}} -### httpRouteRule +### HTTPRouteRule HTTPRouteRule defines semantics for matching an HTTP request based on conditions (matches) and processing it (filters). {{< keyval >}} -| field | value | -| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `matches` | A list of [httpRouteMatches](#httproutematch). Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | -| `filters` | A list of [httpRouteFilters](#httproutefilter) which will be applied to each request which matches this rule. | -| `backendRefs` | An array of [HTTPBackendRefs](#httpbackendref) to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | -| `timeouts` | An optional [httpRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | +| field | value | +| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `matches` | A list of [HTTPRouteMatch](#httproutematch) resources. Each match is independent, i.e. this rule will be matched if **any** one of the matches is satisfied. | +| `filters` | A list of [HTTPRouteFilter](#httproutefilter) resources which will be applied to each request which matches this rule. | +| `backendRefs` | An array of [HTTPBackendRef](#httpbackendref) resources to declare where the traffic should be routed to (only allowed with Service [parentRefs](#parentreference)). | +| `timeouts` | An optional [HTTPRouteTimeouts](#httproutetimeouts) object which configures timeouts for requests matching this rule. | {{< /keyval >}} -### httpRouteMatch +### HTTPRouteMatch HTTPRouteMatch defines the predicate used to match requests to a given action. Multiple match types are ANDed together, i.e. the match will evaluate to true @@ -136,14 +136,14 @@ only if all conditions are satisfied. | field | value | | ------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `path` | An [httpPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | -| `headers` | A list of [httpHeaderMatches](#httpheadermatch). Multiple match values are ANDed together. | -| `queryParams` | A list of [httpQueryParamMatches](#httpqueryparammatch). Multiple match values are ANDed together. | +| `path` | An [HTTPPathMatch](#httppathmatch). If this field is not specified, a default prefix match on the "/" path is provided. | +| `headers` | A list of [HTTPHeaderMatch](#httpheadermatch) resources. Multiple match values are ANDed together. | +| `queryParams` | A list of [HTTPQueryParamMatch](#httpqueryparammatch) resources. Multiple match values are ANDed together. | | `method` | When specified, this route will be matched only if the request has the specified method. | {{< /keyval >}} -### httpPathMatch +### HTTPPathMatch `HTTPPathMatch` describes how to select a HTTP route by matching the HTTP request path. @@ -157,7 +157,7 @@ request path. {{< /keyval >}} -### httpHeaderMatch +### HTTPHeaderMatch `HTTPHeaderMatch` describes how to select a HTTP route by matching HTTP request headers. @@ -172,7 +172,7 @@ headers. {{< /keyval >}} -### httpQueryParamMatch +### HTTPQueryParamMatch `HTTPQueryParamMatch` describes how to select a HTTP route by matching HTTP query parameters. @@ -187,7 +187,7 @@ query parameters. {{< /keyval >}} -### httpRouteFilter +### HTTPRouteFilter HTTPRouteFilter defines processing steps that must be completed during the request or response lifecycle. @@ -197,27 +197,27 @@ request or response lifecycle. | field | value | | ------------------------ | -------------------------------------------------------------------------- | | `type` | One of: RequestHeaderModifier, ResponseHeaderModifier, or RequestRedirect. | -| `requestHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies request headers. | -| `responseHeaderModifier` | An [httpHeaderFilter](#httpheaderfilter) which modifies response headers. | -| `requestRedirect` | An [httpRequestRedirectFilter](#httprequestredirectfilter). | +| `requestHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies request headers. | +| `responseHeaderModifier` | An [HTTPHeaderFilter](#httpheaderfilter) which modifies response headers. | +| `requestRedirect` | An [HTTPRequestRedirectFilter](#httprequestredirectfilter). | {{< /keyval >}} -### httpHeaderFilter +### HTTPHeaderFilter A filter which modifies HTTP request or response headers. {{< keyval >}} -| field | value | -| -------- | ----------------------------------------------------------------------------------------------------------- | -| `set` | A list of [httpHeaders](#httpheader) to overwrite on the request or response. | -| `add` | A list of [httpHeaders](#httpheader) to add on to the request or response, appending to any existing value. | -| `remove` | A list of header names to remove from the request or response. | +| field | value | +| -------- | -------------------------------------------------------------------------------------------------------------------- | +| `set` | A list of [HTTPHeader](#httpheader) resources to overwrite on the request or response. | +| `add` | A list of [HTTPHeader](#httpheader) resources to add on to the request or response, appending to any existing value. | +| `remove` | A list of header names to remove from the request or response. | {{< /keyval >}} -### httpHeader +### HTTPHeader `HTTPHeader` represents an HTTP Header name and value as defined by RFC 7230. @@ -230,23 +230,23 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpRequestRedirectFilter +### HTTPRequestRedirectFilter `HTTPRequestRedirect` defines a filter that redirects a request. {{< keyval >}} -| field | value | -| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | -| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | -| `path` | An [httpPathModfier](#httppathmodfier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | -| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | -| `statusCode` | The HTTP status code to be used in response. | +| field | value | +| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------- | +| `scheme` | The scheme to be used in the value of the `Location` header in the response. When empty, the scheme of the request is used. | +| `hostname` | The hostname to be used in the value of the `Location` header in the response. When empty, the hostname of the request is used. | +| `path` | An [HTTPPathModifier](#httppathmodifier) which modifies the path of the incoming request and uses the modified path in the `Location` header. | +| `port` | The port to be used in the value of the `Location` header in the response. When empty, port (if specified) of the request is used. | +| `statusCode` | The HTTP status code to be used in response. | {{< /keyval >}} -### httpPathModfier +### HTTPPathModifier `HTTPPathModifier` defines configuration for path modifiers. @@ -260,7 +260,7 @@ A filter which modifies HTTP request or response headers. {{< /keyval >}} -### httpBackendRef +### HTTPBackendRef `HTTPBackendRef` defines the list of objects where matching requests should be sent to. Only allowed when a route has Service [parentRefs](#parentreference). @@ -276,7 +276,7 @@ sent to. Only allowed when a route has Service [parentRefs](#parentreference). {{< /keyval >}} -### httpRouteTimeouts +### HTTPRouteTimeouts `HTTPRouteTimeouts` defines the timeouts that can be configured for an HTTP request.