Constructors

Methods

  • Set items for the chart

    Parameters

    • itemPath: string

      item path in the YAML, if empty then root of the YAML object will be used

    • items: any

      the element object

    • yamlRoot: AnyObject

      root of the YAML object to update

    Returns void

  • Get profile from the profiles map, loads them on demand if they are not loaded already.

    Parameters

    • profileName: string

      profile name (key in the map).

    Returns AnyObject

    the profile.

    if profiles can't be loaded or the profile name is not found in the map.

  • Load profiles from a profile file and populate the profiles map.

    Parameters

    • OptionalforceReload: boolean = false

      forces the profiles map to override even if it exists.

    Returns Map<string, AnyObject>

    reference to the populated profiles map.

    if the profile file is not found.

  • Prepares config.txt file for the node

    Parameters

    • nodeAccountMap: Map<`node${number}`, string>

      the map of node aliases to account IDs

    • consensusNodes: ConsensusNode[]

      the list of consensus nodes

    • destPath: string

      path to the destination directory to write the config.txt file

    • releaseTagOverride: string

      release tag override

    • OptionalappName: string = constants.HEDERA_APP_NAME

      the app name (default: HederaNode.jar)

    • OptionalchainId: string = constants.HEDERA_CHAIN_ID

      chain ID (298 for local network)

    • OptionalloadBalancerEnabled: boolean = false

      whether the load balancer is enabled (flag is not set by default)

    Returns Promise<string>

    the config.txt file path

  • Prepare a values file for mirror-node Helm chart

    Parameters

    • profileName: string

      resource profile name

    Returns Promise<string | void>

    the full path to the values file

  • Parameters

    • configTxtPath: string
    • applicationPropertiesPath: string

    Returns Promise<string>

  • Prepare a values file for rpc-relay Helm chart

    Parameters

    • profileName: string

      resource profile name

    Returns Promise<string | void>

    return the full path to the values file

  • Prepare a values file for Solo Helm chart

    Parameters

    • profileName: string

      resource profile name

    • consensusNodes: ConsensusNode[]

      the list of consensus nodes

    Returns Promise<string>

    return the full path to the values file

  • Parameters

    • profileName: string

    Returns Promise<string>