supabase-operator/internal/controller/templates/envoy_control_plane_config.yaml.tmpl

40 lines
1,016 B
Cheetah
Raw Normal View History

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