Packages:
Package v1 is the v1 version of the API.
Resource Types:
HTTPProxy is an Ingress CRD specification
| Field | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
apiVersionstring |
projectcontour.io/v1
|
||||||||
kindstring |
HTTPProxy |
||||||||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||
specHTTPProxySpec |
|
||||||||
statusStatus |
(Optional) |
TLSCertificateDelegation is an TLS Certificate Delegation CRD specification. See design/tls-certificate-delegation.md for details.
| Field | Description | ||
|---|---|---|---|
apiVersionstring |
projectcontour.io/v1
|
||
kindstring |
TLSCertificateDelegation |
||
metadataKubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||
specTLSCertificateDelegationSpec |
|
(Appears on: TLSCertificateDelegationSpec)
CertificateDelegation maps the authority to reference a secret in the current namespace to a set of namespaces.
| Field | Description |
|---|---|
secretNamestring |
required, the name of a secret in the current namespace. |
targetNamespaces[]string |
required, the namespaces the authority to reference the the secret will be delegated to. If TargetNamespaces is nil or empty, the CertificateDelegation’ is ignored. If the TargetNamespace list contains the character, “*” the secret will be delegated to all namespaces. |
Condition are policies that are applied on top of HTTPProxies. One of Prefix or Header must be provided.
| Field | Description |
|---|---|
prefixstring |
(Optional)
Prefix defines a prefix match for a request. |
headerHeaderCondition |
(Optional)
Header specifies the header condition to match. |
(Appears on: Route)
HTTPHealthCheckPolicy defines health checks on the upstream service.
| Field | Description |
|---|---|
pathstring |
HTTP endpoint used to perform health checks on upstream service |
hoststring |
The value of the host header in the HTTP health check request. If left empty (default value), the name “contour-envoy-healthcheck” will be used. |
intervalSecondsint64 |
(Optional)
The interval (seconds) between health checks |
timeoutSecondsint64 |
(Optional)
The time to wait (seconds) for a health check response |
unhealthyThresholdCountint64 |
(Optional)
The number of unhealthy health checks required before a host is marked unhealthy |
healthyThresholdCountint64 |
(Optional)
The number of healthy health checks required before a host is marked healthy |
(Appears on: HTTPProxy)
HTTPProxySpec defines the spec of the CRD.
| Field | Description |
|---|---|
virtualhostVirtualHost |
(Optional)
Virtualhost appears at most once. If it is present, the object is considered to be a “root”. |
routes[]Route |
(Optional)
Routes are the ingress routes. If TCPProxy is present, Routes is ignored. |
tcpproxyTCPProxy |
(Optional)
TCPProxy holds TCP proxy information. |
includes[]Include |
(Optional)
Includes allow for specific routing configuration to be appended to another HTTPProxy in another namespace. |
(Appears on: Condition)
HeaderCondition specifies the header condition to match. Name is required. Only one of Present or Contains must be provided.
| Field | Description |
|---|---|
namestring |
Name is the name of the header to match on. Name is required. Header names are case insensitive. |
presentbool |
(Optional)
Present is true if the Header is present in the request. |
containsstring |
(Optional)
Contains is true if the Header containing this string is present in the request. |
notcontainsstring |
(Optional)
NotContains is true if the Header containing this string is not present in the request. |
exactstring |
(Optional)
Exact is true if the Header containing this string matches exactly in the request. |
notexactstring |
(Optional)
NotExact is true if the Header containing this string doesn’t match exactly in the request. |
(Appears on: HeadersPolicy)
HeaderValue represents a header name/value pair
| Field | Description |
|---|---|
namestring |
Name represents a key of a header |
valuestring |
Value represents the value of a header specified by a key |
HeadersPolicy defines how headers are managed during forwarding
| Field | Description |
|---|---|
set[]HeaderValue |
(Optional)
Set specifies a list of HTTP header values that will be set in the HTTP header |
remove[]string |
(Optional)
Remove specifies a list of HTTP header names to remove |
(Appears on: HTTPProxySpec)
Include describes a set of policies that can be applied to an HTTPProxy in a namespace.
| Field | Description |
|---|---|
namestring |
Name of the HTTPProxy |
namespacestring |
(Optional)
Namespace of the HTTPProxy to include. Defaults to the current namespace if not supplied. |
conditions[]Condition |
(Optional)
Conditions are a set of routing properties that is applied to an HTTPProxy in a namespace. |
LoadBalancerPolicy defines the load balancing policy.
| Field | Description |
|---|---|
strategystring |
(Appears on: Route)
PathRewritePolicy specifies how a request URL path should be rewritten. This rewriting takes place after a request is routed and has no subsequent effects on the proxy’s routing decision. No HTTP headers or body content is rewritten.
Exactly one field in this struct may be specified.
| Field | Description |
|---|---|
replacePrefix[]ReplacePrefix |
(Optional)
ReplacePrefix describes how the path prefix should be replaced. |
(Appears on: PathRewritePolicy)
ReplacePrefix describes a path prefix replacement.
| Field | Description |
|---|---|
prefixstring |
(Optional)
Prefix specifies the URL path prefix to be replaced. If Prefix is specified, it must exactly match the Condition prefix that is rendered by the chain of including HTTPProxies and only that path prefix will be replaced by Replacement. This allows HTTPProxies that are included through multiple roots to only replace specific path prefixes, leaving others unmodified. If Prefix is not specified, all routing prefixes rendered by the include chain will be replaced. |
replacementstring |
Replacement is the string that the routing path prefix will be replaced with. This must not be empty. |
(Appears on: Route)
RetryPolicy defines the attributes associated with retrying policy.
| Field | Description |
|---|---|
countint64 |
(Optional)
NumRetries is maximum allowed number of retries. If not supplied, the number of retries is one. |
perTryTimeoutstring |
PerTryTimeout specifies the timeout per retry attempt. Ignored if NumRetries is not supplied. |
(Appears on: HTTPProxySpec)
Route contains the set of routes for a virtual host.
| Field | Description |
|---|---|
conditions[]Condition |
(Optional)
Conditions are a set of routing properties that is applied to an HTTPProxy in a namespace. |
services[]Service |
Services are the services to proxy traffic. |
enableWebsocketsbool |
(Optional)
Enables websocket support for the route. |
permitInsecurebool |
(Optional)
Allow this path to respond to insecure requests over HTTP which are normally
not permitted when a |
timeoutPolicyTimeoutPolicy |
(Optional)
The timeout policy for this route. |
retryPolicyRetryPolicy |
(Optional)
The retry policy for this route. |
healthCheckPolicyHTTPHealthCheckPolicy |
(Optional)
The health check policy for this route. |
loadBalancerPolicyLoadBalancerPolicy |
(Optional)
The load balancing policy for this route. |
pathRewritePolicyPathRewritePolicy |
(Optional)
The policy for rewriting the path of the request URL after the request has been routed to a Service. |
requestHeadersPolicyHeadersPolicy |
(Optional)
The policy for managing request headers during proxying |
responseHeadersPolicyHeadersPolicy |
(Optional)
The policy for managing response headers during proxying |
Service defines an Kubernetes Service to proxy traffic.
| Field | Description |
|---|---|
namestring |
Name is the name of Kubernetes service to proxy traffic. Names defined here will be used to look up corresponding endpoints which contain the ips to route. |
portint |
Port (defined as Integer) to proxy traffic to since a service can have multiple defined. |
protocolstring |
(Optional)
Protocol may be used to specify (or override) the protocol used to reach this Service. Values may be tls, h2, h2c. If omitted, protocol-selection falls back on Service annotations. |
weightint64 |
(Optional)
Weight defines percentage of traffic to balance traffic |
validationUpstreamValidation |
(Optional)
UpstreamValidation defines how to verify the backend service’s certificate |
mirrorbool |
If Mirror is true the Service will receive a read only mirror of the traffic for this route. |
requestHeadersPolicyHeadersPolicy |
(Optional)
The policy for managing request headers during proxying |
responseHeadersPolicyHeadersPolicy |
(Optional)
The policy for managing response headers during proxying |
(Appears on: HTTPProxy)
Status reports the current state of the HTTPProxy.
| Field | Description |
|---|---|
currentStatusstring |
(Optional) |
descriptionstring |
(Optional) |
(Appears on: TCPProxy)
TCPHealthCheckPolicy defines health checks on the upstream service.
| Field | Description |
|---|---|
intervalSecondsint64 |
(Optional)
The interval (seconds) between health checks |
timeoutSecondsint64 |
(Optional)
The time to wait (seconds) for a health check response |
unhealthyThresholdCountuint32 |
(Optional)
The number of unhealthy health checks required before a host is marked unhealthy |
healthyThresholdCountuint32 |
(Optional)
The number of healthy health checks required before a host is marked healthy |
(Appears on: HTTPProxySpec)
TCPProxy contains the set of services to proxy TCP connections.
| Field | Description |
|---|---|
loadBalancerPolicyLoadBalancerPolicy |
(Optional)
The load balancing policy for the backend services. |
services[]Service |
Services are the services to proxy traffic |
includeTCPProxyInclude |
(Optional)
Include specifies that this tcpproxy should be delegated to another HTTPProxy. |
includesTCPProxyInclude |
(Optional)
IncludesDeprecated allow for specific routing configuration to be appended to another HTTPProxy in another namespace. Exists due to a mistake when developing HTTPProxy and the field was marked plural when it should have been singular. This field should stay to not break backwards compatibility to v1 users. |
healthCheckPolicyTCPHealthCheckPolicy |
(Optional)
The health check policy for this tcp proxy |
(Appears on: TCPProxy)
TCPProxyInclude describes a target HTTPProxy document which contains the TCPProxy details.
| Field | Description |
|---|---|
namestring |
Name of the child HTTPProxy |
namespacestring |
(Optional)
Namespace of the HTTPProxy to include. Defaults to the current namespace if not supplied. |
(Appears on: VirtualHost)
TLS describes tls properties. The SNI names that will be matched on are described in fqdn, the tls.secretName secret must contain a matching certificate unless tls.passthrough is set to true.
| Field | Description |
|---|---|
secretNamestring |
required, the name of a secret in the current namespace |
minimumProtocolVersionstring |
(Optional)
Minimum TLS version this vhost should negotiate |
passthroughbool |
(Optional)
If Passthrough is set to true, the SecretName will be ignored and the encrypted handshake will be passed through to the backing cluster. |
(Appears on: TLSCertificateDelegation)
TLSCertificateDelegationSpec defines the spec of the CRD
| Field | Description |
|---|---|
delegations[]CertificateDelegation |
(Appears on: Route)
TimeoutPolicy defines the attributes associated with timeout.
| Field | Description |
|---|---|
responsestring |
(Optional)
Timeout for receiving a response from the server after processing a request from client. If not supplied the timeout duration is undefined. |
idlestring |
(Optional)
Timeout after which if there are no active requests for this route, the connection between Envoy and the backend will be closed. If not specified, there is no per-route idle timeout. |
(Appears on: Service)
UpstreamValidation defines how to verify the backend service’s certificate
| Field | Description |
|---|---|
caSecretstring |
Name of the Kubernetes secret be used to validate the certificate presented by the backend |
subjectNamestring |
Key which is expected to be present in the ‘subjectAltName’ of the presented certificate |
(Appears on: HTTPProxySpec)
VirtualHost appears at most once. If it is present, the object is considered to be a “root”.
| Field | Description |
|---|---|
fqdnstring |
The fully qualified domain name of the root of the ingress tree all leaves of the DAG rooted at this object relate to the fqdn |
tlsTLS |
(Optional)
If present describes tls properties. The SNI names that will be matched on are described in fqdn, the tls.secretName secret must contain a matching certificate |
Generated with gen-crd-api-reference-docs.