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: 8099apiVersion: microgateway.airlock.com/v1alpha1
kind: EnvoyCluster
metadata:
  name: default
spec: {}EnvoyCluster
| Field | Type | Description | Required | Default | Allowed Values | 
|---|---|---|---|---|---|
| metadata | ObjectMeta | Refer to Kubernetes API documentation for fields of metadata | yes | ||
| spec | object | Specification of the desired additional Envoy cluster. | no | 
EnvoyCluster.spec
| Field | Type | Description | Required | Default | Allowed Values | 
|---|---|---|---|---|---|
| value | unstructured | Value specifies the raw Envoy cluster configuration. Note: The ’name’ field within this unstructured value must follow the convention: envoycluster/{namespace}/{name}. | no |