Skip to content

update solo network deploy to conditionally create the /opt/hgcapp/services-hedera/HapiApp2.0/data/config/block-nodes.json #1757

@jeromy-cannon

Description

@jeromy-cannon
  • have solo network deploy check to see if block nodes is installed
  • if block nodes is installed then create the /opt/hgcapp/services-hedera/HapiApp2.0/data/config/block-nodes.json file
  • we can follow the same load pattern as the genesis-throttles.json which is passed into the helm chart during solo network deploy as a value to the values file override which becomes a configMap that gets copied in via the initContainers:init-copier
  • instead of localhost use the FQDN for the block nodes service

example block-nodes.json format:

{
  "nodes": [
    {
      "address": "localhost",
      "port": 8080
    }
  ],
  "blockItemBatchSize": 256
}

NOTE: reach out to Slack:@Fredy if you have Block Node related questions.

Metadata

Metadata

Assignees

Labels

P0An issue impacting production environments or impacting multiple releases or multiple individuals.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions