From 6e43f41ac72a62041cf58ee3c71c70e1ae96ed3f Mon Sep 17 00:00:00 2001 From: oap75 Date: Fri, 26 Jan 2024 10:54:52 +0200 Subject: [PATCH] fixup! feat: add new format of values.yaml --- charts/rollups-node/values.yaml | 195 ++++++++++++++------------------ 1 file changed, 88 insertions(+), 107 deletions(-) diff --git a/charts/rollups-node/values.yaml b/charts/rollups-node/values.yaml index 80e14c0..315e97b 100644 --- a/charts/rollups-node/values.yaml +++ b/charts/rollups-node/values.yaml @@ -181,110 +181,91 @@ validator: extraVolumeMounts: [] config: - auth: - # -- The node will use the private key generated from this mnemonic to sign transactions. - # - # Overrides `CARTESI_AUTH_MNEMONIC_FILE` and `CARTESI_AUTH_AWS_KMS_*`. - CARTESI_AUTH_MNEMONIC: - # -- The node will use the private key generated from the mnemonic contained in this file - # to sign transactions. - # - # Overrides `CARTESI_AUTH_AWS_KMS_*`. - CARTESI_AUTH_MNEMONIC_FILE: - # -- When using mnemonics to sign transactions, - # the node will use this account index to generate the private key. - CARTESI_AUTH_MNEMONIC_ACCOUNT_INDEX: 0 - # -- If set, the node will use the AWS KMS service with this key ID to sign transactions. - # - # Must be set alongside `CARTESI_AUTH_AWS_KMS_REGION`. - CARTESI_AUTH_AWS_KMS_KEY_ID: - # -- An AWS KMS Region. - # - # Must be set alongside `CARTESI_AUTH_AWS_KMS_KEY_ID`. - CARTESI_AUTH_AWS_KMS_REGION: - - blockchain: - # -- An unique identifier representing a blockchain network. - CARTESI_BLOCKCHAIN_ID: - # -- HTTP endpoint for the blockchain RPC provider. - CARTESI_BLOCKCHAIN_HTTP_ENDPOINT: - # -- WebSocket endpoint for the blockchain RPC provider. - CARTESI_BLOCKCHAIN_WS_ENDPOINT: - # -- If set to true the node will send transactions using the legacy gas fee model - # (instead of EIP-1559). - CARTESI_BLOCKCHAIN_IS_LEGACY: false - # -- The node assumes that blocks offseted by N from the current block have reached finality - # (N is the read depth). - CARTESI_BLOCKCHAIN_FINALITY_OFFSET: 10 - # -- Block subscription timeout in seconds. - CARTESI_BLOCKCHAIN_BLOCK_TIMEOUT: 60 - # -- The deployment block for the input box contract. - # The node will begin to read blockchain events from this block. - CARTESI_CONTRACTS_INPUT_BOX_DEPLOYMENT_BLOCK_NUMBER: - - contracts: - # -- Address of the DApp's contract. - CARTESI_CONTRACTS_DAPP_ADDRESS: - # -- Block in which the DApp's contract was deployed. - CARTESI_CONTRACTS_DAPP_DEPLOYMENT_BLOCK_NUMBER: - # -- Address of the History contract. - CARTESI_CONTRACTS_HISTORY_ADDRESS: - # -- Address of the Authority contract. - CARTESI_CONTRACTS_AUTHORITY_ADDRESS: - # -- Address of the InputBox contract. - CARTESI_CONTRACTS_INPUT_BOX_ADDRESS: - - experimental: - # -- When enabled, the node does not start the authority-claimer service and the Redis server. - CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_ENABLED: false - # -- External Redis endpoint for the node when running in the experimental sunodo validator mode. - CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_REDIS_ENDPOINT: - - features: - # -- If set to true, the node will run in host mode. - # - # In host mode, computations will not be performed by the cartesi machine. - # You should only use host mode for development and debugging! - CARTESI_FEATURE_HOST_MODE: false - # -- If set to true, the node will run in reader mode. - # - # In reader mode, the node does not make claims. - CARTESI_FEATURE_READER_MODE: false - # -- If set to true, the node will *not* check whether the Cartesi machine hash from - # the snapshot matches the hash in the Application contract. - # - CARTESI_FEATURE_DISABLE_MACHINE_HASH_CHECK: false - - http: - # -- HTTP address for the node. - CARTESI_HTTP_ADDRESS: 127.0.0.1 - # -- HTTP port for the node. - # The node will also use the 20 ports after this one for internal services. - CARTESI_HTTP_PORT: 10000 - - logging: - # -- One of "debug", "info", "warning", "error". - CARTESI_LOG_LEVEL: info - # -- If set to true, the node will print the timestamp when logging. - CARTESI_LOG_TIMESTAMP: false - - postgres: - # -- Postgres endpoint in the 'postgres://user:password@hostname:port/database' format. - # - # If not set, or set to empty string, will defer the behaviour to the PG driver. - # See [this](https://www.postgresql.org/docs/current/libpq-envars.html) for more information. - # - # It is also possible to set the endpoint without a password and load it from Postgres' passfile. - # See [this](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-PASSFILE) - # for more information. - CARTESI_POSTGRES_ENDPOINT: - - rollups: - # -- Duration of a rollups epoch in seconds. - # - # At the end of each epoch, the node will send claims to the blockchain. - CARTESI_EPOCH_DURATION: 86400 - - snapshot: - # -- Path to the directory of the cartesi-machine snapshots. - CARTESI_SNAPSHOT_DIR: + # -- One of "debug", "info", "warning", "error". + CARTESI_LOG_LEVEL: info + # -- If set to true, the node will print the timestamp when logging. + CARTESI_LOG_TIMESTAMP: "false" + # -- If set to true, the node will run in host mode. + # + # In host mode, computations will not be performed by the cartesi machine. + # You should only use host mode for development and debugging! + CARTESI_FEATURE_HOST_MODE: "false" + # -- If set to true, the node will run in reader mode. + # + # In reader mode, the node does not make claims. + CARTESI_FEATURE_READER_MODE: "false" + # -- | + # If set to true, the node will *not* check whether the Cartesi machine hash from + # the snapshot matches the hash in the Application contract. + CARTESI_FEATURE_DISABLE_MACHINE_HASH_CHECK: "false" + # -- Duration of a rollups epoch in seconds. + # + # At the end of each epoch, the node will send claims to the blockchain. + CARTESI_EPOCH_DURATION: "86400" + # -- An unique identifier representing a blockchain network. + CARTESI_BLOCKCHAIN_ID: "" + # -- HTTP endpoint for the blockchain RPC provider. + CARTESI_BLOCKCHAIN_HTTP_ENDPOINT: "" + # -- WebSocket endpoint for the blockchain RPC provider. + CARTESI_BLOCKCHAIN_WS_ENDPOINT: "" + # -- If set to true the node will send transactions using the legacy gas fee model + # (instead of EIP-1559). + CARTESI_BLOCKCHAIN_IS_LEGACY: "false" + # -- The node assumes that blocks offseted by N from the current block have reached finality + # (N is the read depth). + CARTESI_BLOCKCHAIN_FINALITY_OFFSET: "10" + # -- Block subscription timeout in seconds. + CARTESI_BLOCKCHAIN_BLOCK_TIMEOUT: "60" + # -- The deployment block for the input box contract. + # The node will begin to read blockchain events from this block. + CARTESI_CONTRACTS_INPUT_BOX_DEPLOYMENT_BLOCK_NUMBER: "" + # -- Address of the DApp's contract. + CARTESI_CONTRACTS_DAPP_ADDRESS: "" + # -- Block in which the DApp's contract was deployed. + CARTESI_CONTRACTS_DAPP_DEPLOYMENT_BLOCK_NUMBER: "" + # -- Address of the History contract. + CARTESI_CONTRACTS_HISTORY_ADDRESS: "" + # -- Address of the Authority contract. + CARTESI_CONTRACTS_AUTHORITY_ADDRESS: "" + # -- Address of the InputBox contract. + CARTESI_CONTRACTS_INPUT_BOX_ADDRESS: "" + # -- Path to the directory with the cartesi-machine snapshot that will be loaded by the node. + CARTESI_SNAPSHOT_DIR: "" + # -- The node will use the private key generated from this mnemonic to sign transactions. + # + # Overrides `CARTESI_AUTH_MNEMONIC_FILE` and `CARTESI_AUTH_AWS_KMS_*`. + CARTESI_AUTH_MNEMONIC: "" + # -- The node will use the private key generated from the mnemonic contained in this file + # to sign transactions. + # + # Overrides `CARTESI_AUTH_AWS_KMS_*`. + CARTESI_AUTH_MNEMONIC_FILE: "" + # -- When using mnemonics to sign transactions, + # the node will use this account index to generate the private key. + CARTESI_AUTH_MNEMONIC_ACCOUNT_INDEX: "0" + # -- If set, the node will use the AWS KMS service with this key ID to sign transactions. + # + # Must be set alongside `CARTESI_AUTH_AWS_KMS_REGION`. + CARTESI_AUTH_AWS_KMS_KEY_ID: "" + # -- An AWS KMS Region. + # + # Must be set alongside `CARTESI_AUTH_AWS_KMS_KEY_ID`. + CARTESI_AUTH_AWS_KMS_REGION: "" + # -- Postgres endpoint in the 'postgres://user:password@hostname:port/database' format. + # + # If not set, or set to empty string, will defer the behaviour to the PG driver. + # See [this](https://www.postgresql.org/docs/current/libpq-envars.html) for more information. + # + # It is also possible to set the endpoint without a password and load it from Postgres' passfile. + # See [this](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-PASSFILE) + # for more information. + CARTESI_POSTGRES_ENDPOINT: "" + # -- HTTP address for the node. + CARTESI_HTTP_ADDRESS: 127.0.0.1 + # -- HTTP port for the node. + # The node will also use the 20 ports after this one for internal services. + CARTESI_HTTP_PORT: "10000" + # -- When enabled, the node does not start the authority-claimer service and the Redis server. + CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_ENABLED: "false" + # -- External Redis endpoint for the node when running in the experimental sunodo validator mode. + CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_REDIS_ENDPOINT: ""