fix: update toml files and readme from mstx_balance to ustx_balance

This commit is contained in:
Matthew Little
2020-12-11 15:51:51 +01:00
parent 8920c80922
commit 5a23ebc3df
18 changed files with 134 additions and 129 deletions

View File

@@ -86,7 +86,7 @@ The following tables lists the configurable parameters of the stacks-blockchain
| node.volumeMounts | Additional volumeMounts for the node | [] |
| node.extraContainers | Additional containers to run alongside the node. Useful if adding a sidecar | [] |
| node.initContainers | Containers which are run before the node container is started | [] |
| config | More configs can be added than what's shown below.All children fields under the node, burnchain, and mstx_balance fields will be converted from YAML to valid TOML format in the Configmap.<br><br>For info on more available config fields, please reference to our [example config files located here](https://github.com/blockstack/stacks-blockchain/tree/master/testnet/stacks-node/conf). | |
| config | More configs can be added than what's shown below.All children fields under the node, burnchain, and ustx_balance fields will be converted from YAML to valid TOML format in the Configmap.<br><br>For info on more available config fields, please reference to our [example config files located here](https://github.com/blockstack/stacks-blockchain/tree/master/testnet/stacks-node/conf). | |
| config.node.rpc_bind | | 0.0.0.0:20443 |
| config.node.p2p_bind | | 0.0.0.0:20444 |
| config.node.seed | Replace with your private key if deploying a miner node | nil |
@@ -96,7 +96,7 @@ The following tables lists the configurable parameters of the stacks-blockchain
| config.burnchain.peer_host | | bitcoind.blockstack.org |
| config.burnchain.rpc_port | | 18443 |
| config.burnchain.peer_port | | 18444 |
| config.mstx_balance | | See values.yaml |
| config.ustx_balance | | See values.yaml |
| config.raw | Uncommenting this block will give you greater control over the settings in the Configmap | nil |
| config.annotations | Annotations to be added to the Configmap | {} |
| service.type | The service type to create.<br>If creating a public node for others to connect to, use Loadbalancer to ensure the advertised IP is reachable. | ClusterIP |

View File

@@ -32,8 +32,8 @@ data:
{{- $key | nindent 4 }} = {{ $val | quote }}
{{- end }}
{{- end }}
{{ range $key, $val := .Values.config.mstx_balance }}
[[mstx_balance]]
{{ range $key, $val := .Values.config.ustx_balance }}
[[ustx_balance]]
{{- range $inner_key, $inner_val := $val }}
{{- if regexMatch "^[0-9]+$" ($inner_val | toString) }}
{{- $inner_key | nindent 4 }} = {{ $inner_val }}

View File

@@ -206,7 +206,7 @@ node:
## You can choose to either configure the node via the following YAML fields:
## * config.node
## * config.burnchain
## * config.mstx_balance
## * config.ustx_balance
##
## OR you can uncomment the config.raw field, which will take precedence over the aforementationed config fields
##
@@ -216,7 +216,7 @@ node:
##
config:
# More configs can be added than what's shown below.
# All children fields under the node, burnchain, and mstx_balance fields will be converted from YAML to valid TOML format in the configmap
# All children fields under the node, burnchain, and ustx_balance fields will be converted from YAML to valid TOML format in the configmap
node:
rpc_bind: 0.0.0.0:20443 # Port should match node.rpcPort
p2p_bind: 0.0.0.0:20444 # Port should match node.p2pPort
@@ -231,7 +231,7 @@ config:
# commit_anchor_block_within: 10000
rpc_port: 18443
peer_port: 18444
mstx_balance:
ustx_balance:
- address: STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6
amount: "10000000000000000"
- address: ST11NJTTKGVT6D1HY4NJRVQWMQM7TVAR091EJ8P2Y
@@ -263,16 +263,16 @@ config:
# rpc_port = 18443
# peer_port = 18444
# [[mstx_balance]]
# [[ustx_balance]]
# address = "STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6"
# amount = 10000000000000000
# [[mstx_balance]]
# [[ustx_balance]]
# address = "ST11NJTTKGVT6D1HY4NJRVQWMQM7TVAR091EJ8P2Y"
# amount = 10000000000000000
# [[mstx_balance]]
# [[ustx_balance]]
# address = "ST1HB1T8WRNBYB0Y3T7WXZS38NKKPTBR3EG9EPJKR"
# amount = 10000000000000000
# [[mstx_balance]]
# [[ustx_balance]]
# address = "STRYYQQ9M8KAF4NS7WNZQYY59X93XEKR31JP64CP"
# amount = 10000000000000000