EnvoyCluster
microgateway.airlock.com/v1alpha1
EnvoyCluster defines a custom Envoy cluster which can be inserted into an Airlock Microgateway Engine configuration.
apiVersion: microgateway.airlock.com/v1alpha1
kind: EnvoyCluster
metadata:
name: envoy-cluster-ext-authz
namespace: default
spec:
value:
name: envoycluster/default/envoy-cluster-ext-authz
connect_timeout: 1s
type: LOGICAL_DNS
load_assignment:
cluster_name: ext-authz
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: opa.service.internal
port_value: 8099EnvoyCluster
| Field | Description | Type | Required | Default | Allowed Values |
|---|---|---|---|---|---|
| metadata | defines the resource’s metadata | ObjectMeta | yes | ||
| spec | defines the desired Envoy cluster. | object | no |
EnvoyCluster.spec
| Field | Description | Type | Required | Default | Allowed Values |
|---|---|---|---|---|---|
| value | specifies the raw Envoy cluster configuration. Note: The ’name’ field within this unstructured value must follow the convention: envoycluster/{namespace}/{name}. |
unstructured | no |