-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pd): support real addrs in testnet generate
Removed the default RFC1918 addresses from the `pd testnet generate` logic. Added two new options: * --peer-address-template * --external-addresses The goal is to allow a node operator to pass in public IPv4 address information at the time of config generation, so the emitted config files are valid without further munging, particularly with respect to the `external_address` Tendermint advertises for its P2P service. This change unblocks a leaner deployment pipeline, where we actually use the results of the `pd testnet generate` output, as intended. Also: fix(pd) support urls in testnet join We were inadvertently dropping paths on URLs by prepending `/` to `Url.join` args, which caused the join operation to be performed on the base domain, ignoring any path. We didn't notice this because all our services had been on their own subdomains.
- Loading branch information
Showing
7 changed files
with
945 additions
and
549 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.