Skip to content

Commit

Permalink
[helm] add config to control ssv2
Browse files Browse the repository at this point in the history
  • Loading branch information
sherry-x authored and chrisdevop1 committed May 6, 2022
1 parent 893886c commit aa2acfe
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/helm/fullnode/files/fullnode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ base:
execution:
genesis_file_location: "/opt/aptos/genesis/genesis.blob"

state_sync:
state_sync_driver:
enable_state_sync_v2: {{ .Values.enable_state_sync_v2 }}

full_node_networks:
- network_id: "public"
discovery_method: "onchain"
Expand Down
1 change: 1 addition & 0 deletions terraform/helm/fullnode/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ fullnode_identity:
# If not set, it will generate a random one on startup.

fullnode_max_inbound_connections: 1000
enable_state_sync_v2: true

rust_log: info

Expand Down
4 changes: 4 additions & 0 deletions terraform/helm/validator/files/configs/fullnode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ execution:
genesis_file_location: ""
{{- end}}

state_sync:
state_sync_driver:
enable_state_sync_v2: {{ .Values.validator.config.enable_state_sync_v2 }}


storage:
backup_service_address: "0.0.0.0:6186"
Expand Down
4 changes: 4 additions & 0 deletions terraform/helm/validator/files/configs/validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ consensus:
round_initial_timeout_ms: {{ .Values.validator.config.round_initial_timeout_ms }}
{{- end }}

state_sync:
state_sync_driver:
enable_state_sync_v2: {{ .Values.validator.config.enable_state_sync_v2 }}

storage:
storage_pruner_config:
ledger_prune_window: {{ int .Values.validator.config.ledger_prune_window }}
Expand Down
1 change: 1 addition & 0 deletions terraform/helm/validator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ validator:
tolerations: []
affinity: {}
config:
enable_state_sync_v2: false
provide_genesis: true
sync_only: false
concurrency_level: 4
Expand Down

0 comments on commit aa2acfe

Please sign in to comment.