Peter Kurfer
647f602c79
- added Core CRD to manage DB migrations & configuration, PostgREST and GoTrue (auth) - added APIGateway CRD to manage Envoy proxy - added Dashboard CRD to manage (so far) pg-meta and (soon) studio deployments - implemented basic Envoy control plane based on K8s watcher
39 lines
1,016 B
Cheetah
39 lines
1,016 B
Cheetah
node:
|
|
cluster: {{ .Node.Cluster }}
|
|
id: {{ .Node.ID }}
|
|
|
|
dynamic_resources:
|
|
ads_config:
|
|
api_type: GRPC
|
|
grpc_services:
|
|
- envoy_grpc:
|
|
cluster_name: {{ .ControlPlane.Name }}
|
|
cds_config:
|
|
ads: {}
|
|
lds_config:
|
|
ads: {}
|
|
|
|
static_resources:
|
|
clusters:
|
|
- type: STRICT_DNS
|
|
typed_extension_protocol_options:
|
|
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
|
|
"@type": type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
|
|
explicit_http_config:
|
|
http2_protocol_options: {}
|
|
name: {{ .ControlPlane.Name }}
|
|
load_assignment:
|
|
cluster_name: {{ .ControlPlane.Name }}
|
|
endpoints:
|
|
- lb_endpoints:
|
|
- endpoint:
|
|
address:
|
|
socket_address:
|
|
address: {{ .ControlPlane.Host }}
|
|
port_value: {{ .ControlPlane.Port }}
|
|
|
|
admin:
|
|
address:
|
|
socket_address:
|
|
address: 0.0.0.0
|
|
port_value: 19000
|