Constructors

Methods

  • Parameters

    • dep: string
    • osPlatform: string = ...
    • installationDir: string = ...

    Returns string

  • Parameters

    • unparsed: string

    Returns Record<`node${number}`, string>

  • renders the label object to be used to store the new account key in the Kubernetes secret

    Parameters

    • accountId: string | AccountId

    Returns { "solo.hedera.com/account-id": string }

    the label object to be used to store the new account key in the Kubernetes secret

  • renders the label selector to be used to fetch the new account key from the Kubernetes secret

    Parameters

    • accountId: string | AccountId

    Returns string

    the label selector of the Kubernetes secret to retrieve the account key

  • renders the name to be used to store the new account key as a Kubernetes secret

    Parameters

    • accountId: string | AccountId

    Returns string

    the name of the Kubernetes secret to store the account key

  • Parameters

    • nodeAlias: `node${number}`
    • state: string = 'TX'
    • locality: string = 'Richardson'
    • org: string = 'Hedera'
    • orgUnit: string = 'Hedera'
    • country: string = 'US'

    Returns Name

  • Parameters

    • nodeAlias: `node${number}`
    • namespace: string

    Returns string

  • Parameters

    • namespace: string
    • nodeAlias: `node${number}`

    Returns string

  • Parameters

    • namespace: string
    • nodeAlias: `node${number}`

    Returns string

  • Parameters

    • nodeAlias: `node${number}`

    Returns { "solo.hedera.com/node-name": string }

  • Creates the secret labels based on the node alias type

    Parameters

    • nodeAlias: `node${number}`

      node alias

    • type: GrpcProxyTlsEnums

      whether is for gRPC or gRPC Web ( Haproxy or Envoy )

    Returns
        | {
            "envoy-proxy-secret"?: undefined;
            "haproxy-proxy-secret": `node${number}`;
        }
        | {
            "envoy-proxy-secret": `node${number}`;
            "haproxy-proxy-secret"?: undefined;
        }

    the appropriate secret labels

  • Creates the secret name based on the node alias type

    Parameters

    • nodeAlias: `node${number}`

      node alias

    • type: GrpcProxyTlsEnums

      whether is for gRPC or gRPC Web ( Haproxy or Envoy )

    Returns string

    the appropriate secret name

  • Parameters

    • nodeAlias: `node${number}`

    Returns `network-node${number}-0`

  • Parameters

    • prefix: string
    • nodeAlias: `node${number}`
    • suffix: string = ''

    Returns string

  • Parameters

    • cacheDir: string
    • releaseTagOverride: string

    Returns string