Skip to content

Commit

Permalink
[sc-3442]: update relay parent chart
Browse files Browse the repository at this point in the history
  • Loading branch information
WesleyCharlesBlake committed Jan 19, 2024
1 parent c0a96d2 commit a3d80bd
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 12 deletions.
8 changes: 4 additions & 4 deletions charts/relay/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dependencies:
- name: tor-proxy
repository: https://chronicleprotocol.github.io/charts/
version: 0.0.7
version: 0.0.8
- name: spectre
repository: https://chronicleprotocol.github.io/charts/
version: 0.1.8
digest: sha256:8949ae1fc2648131793fb5f4ee0c8bd2f731805b7882aef59df45c8fd6c005c9
generated: "2023-08-28T15:02:38.944239924+02:00"
version: 0.2.0
digest: sha256:cf03b5ce590f8fc3d4faf26e62c85be2e7cf6af63f09009adacfe9cac295671f
generated: "2024-01-19T11:30:13.695139+02:00"
6 changes: 3 additions & 3 deletions charts/relay/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.3
version: 0.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -30,10 +30,10 @@ appVersion: "2.0.0"

dependencies:
- name: tor-proxy
version: 0.0.7
version: 0.0.8
repository: https://chronicleprotocol.github.io/charts/
condition: tor-proxy.enabled
- name: spectre
version: 0.1.8
version: 0.2.0
repository: https://chronicleprotocol.github.io/charts/
condition: spectre.enabled
17 changes: 13 additions & 4 deletions charts/relay/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# relay

![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square)
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square)

A Helm chart for deploying Chronicle Relays on Kubernetes

Expand All @@ -15,19 +15,28 @@ A Helm chart for deploying Chronicle Relays on Kubernetes

| Repository | Name | Version |
|------------|------|---------|
| https://chronicleprotocol.github.io/charts/ | spectre | 0.1.8 |
| https://chronicleprotocol.github.io/charts/ | tor-proxy | 0.0.7 |
| https://chronicleprotocol.github.io/charts/ | spectre | 0.2.0 |
| https://chronicleprotocol.github.io/charts/ | tor-proxy | 0.0.8 |

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| extraObjects | list | `[]` | Extra K8s manifests to deploy |
| spectre.chainId | string | `nil` | must match target chain |
| spectre.chainType | string | `nil` | can be one of mainnet: `eth`, `arb`, `opt`, `gno`, `scr`, `zkevm`, `mantle`, or testnets: `gor`, `sep`, `ogor`, `mango`, `testnet-zkEVM-mango`, `mantle-testnet`, `scr-sepolia` |
| spectre.enabled | bool | `true` | |
| spectre.env.normal | object | `{}` | |
| spectre.environment | string | `nil` | one of prod or stage |
| spectre.ethConfig | object | `{}` | |
| spectre.fullnameOverride | string | `"spectre"` | |
| spectre.image.tag | string | `"sha-5e277a6"` | |
| spectre.image.tag | string | `""` | |
| spectre.rpcUrl | string | `nil` | rpcUrl for the target chain |
| spectre.txType | string | `nil` | can be one of `legacy`or `eip1559` |
| spectre.watchdogChainRpcUrls | string | `nil` | WATCHDOG_CHAIN_RPC_URLS comma separated list of ethereum rpc urls |
| spectre.watchdogConfigReg | string | `nil` | `WATCHDOG_CONFIG_REGISTRY` onchain registry address, use staging `0xE1CcD31f46F30A764DbACB4759E69d8799126941` or prod `0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3` |
| spectre.watchdogEthFrom | string | `"0x0000000000000000000000000000000000000000"` | `WATCHDOG_ETH_FROM` address (in seconds) |
| spectre.watchdogInterval | string | `nil` | `WATCHDOG_INTERVAL` interval (in seconds) |
| tor-proxy.enabled | bool | `true` | |
| tor-proxy.env.normal.TOR_EXTRA_ARGS | string | `"AutomapHostsOnResolve 1\nControlSocketsGroupWritable 1\nCookieAuthentication 1\nCookieAuthFileGroupReadable 1\nSOCKSPort 0.0.0.0:9050\nDNSPort 5353\nExitPolicy reject *:*\nLog notice stderr\nRunAsDaemon 0\nControlSocket /home/tor/.tor/control_socket\nCookieAuthFile /home/tor/.tor/control_socket.authcookie\nDataDirectory /home/tor/.tor\nHiddenServiceDir /var/lib/tor/hidden_services\nHiddenServicePort 8888 spectre:8080\nHiddenServiceVersion 3\n"` | |
| tor-proxy.fullnameOverride | string | `"tor-proxy"` | |
Expand Down
16 changes: 16 additions & 0 deletions charts/relay/ci/testnet-envs-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
spectre:
rpcUrl: https://rpc.public.zkevm-test.net
# -- must match target chain
chainId: 1442
# -- can be one of `legacy`or `eip1559`
txType: legacy
# -- can be one of mainnet: `eth`, `arb`, `opt`, `gno`, `scr`, `zkevm`, `mantle`, or testnets: `gor`, `sep`, `ogor`, `mango`, `testnet-zkEVM-mango`, `mantle-testnet`, `scr-sepolia`
chainType: testnet-zkEVM-mango
# -- `WATCHDOG_CONFIG_REGISTRY` onchain registry address, use staging `0xE1CcD31f46F30A764DbACB4759E69d8799126941` or prod `0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3`
watchdogConfigReg: "0xE1CcD31f46F30A764DbACB4759E69d8799126941"
# -- `WATCHDOG_INTERVAL` interval (in seconds)
watchdogInterval: "300s"
# -- `WATCHDOG_ETH_FROM` address (in seconds)
watchdogEthFrom: '0x0000000000000000000000000000000000000000'
# -- WATCHDOG_CHAIN_RPC_URLS comma separated list of ethereum rpc urls
watchdogChainRpcUrls: "https://ethereum-sepolia.blockpi.network/v1/rpc/public"
22 changes: 21 additions & 1 deletion charts/relay/values.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
spectre:
enabled: true
image:
tag: "sha-5e277a6"
tag: ""
fullnameOverride: "spectre"
# -- one of prod or stage
environment: null
# -- rpcUrl for the target chain
rpcUrl: null
# -- must match target chain
chainId: null
# -- can be one of `legacy`or `eip1559`
txType: null
# -- can be one of mainnet: `eth`, `arb`, `opt`, `gno`, `scr`, `zkevm`, `mantle`, or testnets: `gor`, `sep`, `ogor`, `mango`, `testnet-zkEVM-mango`, `mantle-testnet`, `scr-sepolia`
chainType: null

# -- `WATCHDOG_CONFIG_REGISTRY` onchain registry address, use staging `0xE1CcD31f46F30A764DbACB4759E69d8799126941` or prod `0x94Fea534aef6df5cF66C2DAE5CE0A05d10C068F3`
watchdogConfigReg: null
# -- `WATCHDOG_INTERVAL` interval (in seconds)
watchdogInterval: null
# -- `WATCHDOG_ETH_FROM` address (in seconds)
watchdogEthFrom: '0x0000000000000000000000000000000000000000'
# -- WATCHDOG_CHAIN_RPC_URLS comma separated list of ethereum rpc urls
watchdogChainRpcUrls: null

ethConfig: {}
# ethFrom:
# existingSecret: "eth-keys"
Expand Down

0 comments on commit a3d80bd

Please sign in to comment.