Skip to content

Commit

Permalink
[helm][testnet/forge] disable validator_network rotation at re-genesis
Browse files Browse the repository at this point in the history
  • Loading branch information
rustielin committed May 13, 2022
1 parent 1733fac commit c73391b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terraform/testnet/testnet/templates/genesis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ spec:
export VAULT_TOKEN="root"
VAULT_BACKEND="backend=vault;server=$VAULT_ADDR;token=/tmp/vault.token"
{{- end }}
vault write -f "/transit/keys/val${N}__validator_network/rotate"
# XXX: disables key rotation at re-genesis to keep from hitting managed backend key size limits
# vault write -f "/transit/keys/val${N}__validator_network/rotate"
aptos-genesis-tool owner-key --validator-backend "$VAULT_BACKEND;namespace=val$N" --shared-backend "$FILE_BACKEND;namespace=val$N"
aptos-genesis-tool operator-key --validator-backend "$VAULT_BACKEND;namespace=val$N" --shared-backend "$FILE_BACKEND;namespace=val$N"
{{- if .Values.service.fullnode.enableOnchainDiscovery }}
Expand Down

0 comments on commit c73391b

Please sign in to comment.