From f18e1ac11bab2604a1555cfaad7d7a26c1af7a8d Mon Sep 17 00:00:00 2001 From: Enderson Maia Date: Mon, 19 Aug 2024 08:28:23 -0300 Subject: [PATCH 1/2] feat(rollups-node): adapt to rollups-node:1.5.1 --- charts/rollups-node/Chart.yaml | 2 +- charts/rollups-node/README.md | 2 +- charts/rollups-node/values.yaml | 9 ++++++--- charts/rollups-node/values.yaml.tpl | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/charts/rollups-node/Chart.yaml b/charts/rollups-node/Chart.yaml index 0b816b7..71ae8d3 100644 --- a/charts/rollups-node/Chart.yaml +++ b/charts/rollups-node/Chart.yaml @@ -13,4 +13,4 @@ maintainers: url: https://github.com/oap75 type: application -version: 1.5.0-0 +version: 1.5.1-0 diff --git a/charts/rollups-node/README.md b/charts/rollups-node/README.md index b77ad1f..b09b24a 100644 --- a/charts/rollups-node/README.md +++ b/charts/rollups-node/README.md @@ -2,7 +2,7 @@ # Package for Cartesi Rollups Nodes -![Version: 1.5.0-0](https://img.shields.io/badge/Version-1.5.0--0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 1.5.1-0](https://img.shields.io/badge/Version-1.5.1--0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Refer to the [official documentation](https://docs.cartesi.io/cartesi-rollups/overview/) for more information about Cartesi Rollups. diff --git a/charts/rollups-node/values.yaml b/charts/rollups-node/values.yaml index fa73b3d..05b6502 100644 --- a/charts/rollups-node/values.yaml +++ b/charts/rollups-node/values.yaml @@ -8,7 +8,7 @@ global: # -- Global Docker image registry registry: docker.io # -- Global Docker Image tag - tag: 1.5.0 + tag: 1.5.1 ## seviceAccount configuration to be used by the rollups-validator-node ## @@ -168,7 +168,9 @@ validator: # 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 not make claims. + # -- If set to true, the node will not generate any claims. + CARTESI_FEATURE_READER_MODE_ENABLED: "false" + # -- If set to true, the authority-claimer service is disabled. CARTESI_FEATURE_DISABLE_CLAIMER: "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. @@ -235,7 +237,8 @@ validator: # -- 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. + # -- When enabled, the node does not start Redis. + # It must be configured with an external Redis endpoint. 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: "" diff --git a/charts/rollups-node/values.yaml.tpl b/charts/rollups-node/values.yaml.tpl index 0e5c0ec..633cd61 100644 --- a/charts/rollups-node/values.yaml.tpl +++ b/charts/rollups-node/values.yaml.tpl @@ -8,7 +8,7 @@ global: # -- Global Docker image registry registry: docker.io # -- Global Docker Image tag - tag: 1.5.0 + tag: 1.5.1 ## seviceAccount configuration to be used by the rollups-validator-node ## From 07304aa275750100843e69b8326caac09759141e Mon Sep 17 00:00:00 2001 From: Enderson Maia Date: Mon, 2 Sep 2024 09:32:26 -0300 Subject: [PATCH 2/2] fixup! feat(rollups-node): adapt to rollups-node:1.5.1 --- charts/rollups-node/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/rollups-node/README.md b/charts/rollups-node/README.md index b09b24a..c75e56d 100644 --- a/charts/rollups-node/README.md +++ b/charts/rollups-node/README.md @@ -70,7 +70,7 @@ The command removes all the Kubernetes components associated with the chart and | extraDeploy | list | `[]` | Array of extra objects to deploy with the release | | fullnameOverride | string | `""` | String to fully override name | | global.image.registry | string | `"docker.io"` | Global Docker image registry | -| global.image.tag | string | `"1.5.0"` | Global Docker Image tag | +| global.image.tag | string | `"1.5.1"` | Global Docker Image tag | | image.pullPolicy | string | `"Always"` | Pullpolicy for Docker Images | | image.pullSecrets | list | `[]` | Cartesi Rollups Validator Nodes pull secrets | | ingress.addReleaseNameAsHost | bool | `false` | dditional rules[].host | @@ -107,11 +107,12 @@ The command removes all the Kubernetes components associated with the chart and | validator.config.CARTESI_CONTRACTS_INPUT_BOX_DEPLOYMENT_BLOCK_NUMBER | string | `""` | The deployment block for the input box contract. The node will begin to read blockchain events from this block. | | validator.config.CARTESI_EPOCH_LENGTH | string | `"7200"` | Length of a rollups epoch in blocks. At the end of each epoch, the node will send claims to the blockchain. | | validator.config.CARTESI_EXPERIMENTAL_SERVER_MANAGER_BYPASS_LOG | string | `"false"` | When enabled, prints server-manager output to stdout and stderr directly. All other log configurations are ignored. | -| validator.config.CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_ENABLED | string | `"false"` | When enabled, the node does not start the authority-claimer service and the Redis server. | +| validator.config.CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_ENABLED | string | `"false"` | When enabled, the node does not start Redis. It must be configured with an external Redis endpoint. | | validator.config.CARTESI_EXPERIMENTAL_SUNODO_VALIDATOR_REDIS_ENDPOINT | string | `""` | External Redis endpoint for the node when running in the experimental sunodo validator mode. | -| validator.config.CARTESI_FEATURE_DISABLE_CLAIMER | string | `"false"` | If set to true, the node will not make claims. | +| validator.config.CARTESI_FEATURE_DISABLE_CLAIMER | string | `"false"` | If set to true, the authority-claimer service is disabled. | | validator.config.CARTESI_FEATURE_DISABLE_MACHINE_HASH_CHECK | string | `"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. | | validator.config.CARTESI_FEATURE_HOST_MODE | string | `"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! | +| validator.config.CARTESI_FEATURE_READER_MODE_ENABLED | string | `"false"` | If set to true, the node will not generate any claims. | | validator.config.CARTESI_HTTP_ADDRESS | string | `"127.0.0.1"` | HTTP address for the node. | | validator.config.CARTESI_HTTP_PORT | string | `"10000"` | HTTP port for the node. The node will also use the 20 ports after this one for internal services. | | validator.config.CARTESI_LOG_LEVEL | string | `"info"` | One of "debug", "info", "warn", "error". |