asm.alauda.io group

IngressGateway is the Schema for the ingressgateways API

v1alpha1 version
spec object

IngressGatewaySpec defines the desired state of IngressGateway

corsPolicy object

CORS configuration.

allowCredentials boolean

Whether to allow the browser to read the contents of the response.

allowHeaders []string

The list of request headers that the server allows for cross-origin requests.

allowMethods []string

The list of cross-origin request methods allowed by the server.

allowOrigins []object
type string

Match method.

value string

Value.

configType string required

CORS type. The value range is simple or advance, which means "basic configuration" and "advanced configuration" respectively.

enabled boolean required

Whether to enable CORS.

exposeHeaders []string

A list of headers that the server allows browsers with cross-origin requests to access.

maxAge string

Cross-origin preflight request cache time.

gateway object

GatewayDeploy

name string required

The name of gateway.

namespace string required

The namespace of gateway.

gatewayGroupsRef []object
apiPrefixPath string required

Access path.

apiPrefixRule string required

Access rule.

corsPolicy object

CORS configuration.

allowCredentials boolean

Whether to allow the browser to read the contents of the response.

allowHeaders []string

The list of request headers that the server allows for cross-origin requests.

allowMethods []string

The list of cross-origin request methods allowed by the server.

allowOrigins []object
type string

Match method.

value string

Value.

configType string required

CORS type. The value range is simple or advance, which means "basic configuration" and "advanced configuration" respectively.

enabled boolean required

Whether to enable CORS.

exposeHeaders []string

A list of headers that the server allows browsers with cross-origin requests to access.

maxAge string

Cross-origin preflight request cache time.

name string required

Group name.

host string

Access mode.

httpRoute object

HTTP route config.

corsPolicy object

CORS configuration.

allowCredentials boolean

Whether to allow the browser to read the contents of the response.

allowHeaders []string

The list of request headers that the server allows for cross-origin requests.

allowMethods []string

The list of cross-origin request methods allowed by the server.

allowOrigins []object
type string

Match method.

value string

Value.

configType string required

CORS type. The value range is simple or advance, which means "basic configuration" and "advanced configuration" respectively.

enabled boolean required

Whether to enable CORS.

exposeHeaders []string

A list of headers that the server allows browsers with cross-origin requests to access.

maxAge string

Cross-origin preflight request cache time.

headers []object
key string

Key.

type string

Match method.

value string

Value.

matchType string required

Match method.

name string

Service name.

namespace string

Service namespace.

port integer

Service port.

redirect object

Redirect configuration, new attribute in release3.14.

httpsRedirect boolean
location string
redirectCode integer
rewrite string

Request rewrite.

uri string required

Request path.

patches []object
path string

Path of the form a.[key1:value1].b.[:value2] Where [key1:value1] is a selector for a key-value pair to identify a list element and [:value] is a value selector to identify a list element in a leaf list. All path intermediate nodes must exist.

value

Value to add, delete or replace. For add, the path should be a new leaf. For delete, value should be unset. For replace, path should reference an existing node. All values are strings but are converted into appropriate type based on schema.

port object required

Port info.

name string required

Port name, in the formatted of "protocol-port".

ports object

Port details.

detail []object
nodePort integer

Node port.

port integer required

Service port.

protocol string required

Protocal type.

targetPort integer required

Container port.

group string required

Group name.

serviceRoutes []object
corsPolicy object

CORS configuration.

allowCredentials boolean

Whether to allow the browser to read the contents of the response.

allowHeaders []string

The list of request headers that the server allows for cross-origin requests.

allowMethods []string

The list of cross-origin request methods allowed by the server.

allowOrigins []object
type string

Match method.

value string

Value.

configType string required

CORS type. The value range is simple or advance, which means "basic configuration" and "advanced configuration" respectively.

enabled boolean required

Whether to enable CORS.

exposeHeaders []string

A list of headers that the server allows browsers with cross-origin requests to access.

maxAge string

Cross-origin preflight request cache time.

headers []object
key string

Key.

type string

Match method.

value string

Value.

matchType string required

Match method.

msName string required

Service name.

msNamespace string required

Namespace where the service is located.

msPort integer required

Service port.

publish boolean required

Whether to publish.

rewrite string

Request rewrite.

uri string required

Request path.

tcpRoute object

TCP route config

name string required

Service name.

namespace string required

Namespace where the service is located.

port integer required

Service port.

tcpRoutes []object
gwPort integer required

Gateway port.

msName string required

Service name.

msNamespace string required

Namespace where the service is located.

msPort integer required

Service port.

tlsDomain string

TLSDomain which come out of TLS secret

status object

IngressGatewayStatus defines the observed state of IngressGateway

upgrade object

The status of upgration

failReason string

The reasone of failed upgration

phase string

Phase of upgration