github.com/DerekStrickland/consul@v1.4.5/command/connect/envoy/testdata/grpc-addr-flag.golden (about) 1 { 2 "admin": { 3 "access_log_path": "/dev/null", 4 "address": { 5 "socket_address": { 6 "address": "127.0.0.1", 7 "port_value": 19000 8 } 9 } 10 }, 11 "node": { 12 "cluster": "test-proxy", 13 "id": "test-proxy" 14 }, 15 "static_resources": { 16 "clusters": [ 17 { 18 "name": "local_agent", 19 "connect_timeout": "1s", 20 "type": "STATIC", 21 "http2_protocol_options": {}, 22 "hosts": [ 23 { 24 "socket_address": { 25 "address": "127.0.0.1", 26 "port_value": 9999 27 } 28 } 29 ] 30 } 31 ] 32 }, 33 "dynamic_resources": { 34 "lds_config": { "ads": {} }, 35 "cds_config": { "ads": {} }, 36 "ads_config": { 37 "api_type": "GRPC", 38 "grpc_services": { 39 "initial_metadata": [ 40 { 41 "key": "x-consul-token", 42 "value": "" 43 } 44 ], 45 "envoy_grpc": { 46 "cluster_name": "local_agent" 47 } 48 } 49 } 50 } 51 }