2022-06-28 19:52:25 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
2022-11-07 16:02:04 +00:00
|
|
|
upsert_config_entry primary '
|
|
|
|
kind = "proxy-defaults"
|
|
|
|
name = "global"
|
|
|
|
config {
|
|
|
|
# This should not affect the imported listener protocol, which should be http.
|
|
|
|
protocol = "tcp"
|
|
|
|
}
|
|
|
|
'
|
|
|
|
|
2022-06-28 19:52:25 +00:00
|
|
|
register_services primary
|
|
|
|
|
|
|
|
gen_envoy_bootstrap s1 19000 primary
|
|
|
|
gen_envoy_bootstrap mesh-gateway 19001 primary true
|