Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support graceful shutdown #246

Merged
merged 10 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/admin-system-backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: admin-system-backend helm charts
name: admin-system-backend
version: 0.1.0
version: 0.1.1
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
2 changes: 1 addition & 1 deletion charts/admin-system-backend/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# admin-system-backend

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

admin-system-backend helm charts

Expand Down
2 changes: 1 addition & 1 deletion charts/admin-system-cron/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: admin-system-cron helm charts
name: admin-system-cron
version: 0.1.0
version: 0.1.1
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/admin-system-cron/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# admin-system-cron

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

admin-system-cron helm charts

Expand All @@ -23,7 +23,7 @@ Kubernetes: `>=1.22.0-0`

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| command[0] | string | `"/bin/sh"` | |
| command[0] | string | `"bash"` | |
| command[1] | string | `"-c"` | |
| command[2] | string | `"scroll-admin-cron --config /app/config/admin-system-backend-config.json --http.port ${HTTP_PORT} --metrics --metrics.port ${METRICS_PORT}"` | |
| controller.replicas | int | `1` | |
Expand Down
13 changes: 6 additions & 7 deletions charts/admin-system-cron/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ envFrom:
- configMapRef:
name: admin-system-cron-env

command: [
"/bin/sh",
"-c",
"scroll-admin-cron --config /app/config/admin-system-backend-config.json \
--http.port ${HTTP_PORT} \
--metrics --metrics.port ${METRICS_PORT}",
]
command:
- "bash"
- "-c"
- "scroll-admin-cron --config /app/config/admin-system-backend-config.json \
--http.port ${HTTP_PORT} \
--metrics --metrics.port ${METRICS_PORT}"

resources:
requests:
Expand Down
2 changes: 1 addition & 1 deletion charts/bridge-history-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: bridge-history-api helm charts
name: bridge-history-api
version: 0.1.0
version: 0.1.1
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/bridge-history-api/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bridge-history-api

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

bridge-history-api helm charts

Expand All @@ -25,7 +25,7 @@ Kubernetes: `>=1.22.0-0`
|-----|------|---------|-------------|
| additionalContainers.redis.image | string | `"redis"` | |
| additionalContainers.redis.name | string | `"redis"` | |
| command[0] | string | `"/bin/sh"` | |
| command[0] | string | `"bash"` | |
| command[1] | string | `"-c"` | |
| command[2] | string | `"bridgehistoryapi-api --config /app/conf/bridge-history-api-config.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug"` | |
| controller.replicas | int | `1` | |
Expand Down
8 changes: 3 additions & 5 deletions charts/bridge-history-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ image:
tag: v4.4.71

command:
[
"/bin/sh",
"-c",
"bridgehistoryapi-api --config /app/conf/bridge-history-api-config.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug",
]
- "bash"
- "-c"
- "bridgehistoryapi-api --config /app/conf/bridge-history-api-config.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug"

env:
- name: METRICS_PORT
Expand Down
2 changes: 1 addition & 1 deletion charts/bridge-history-fetcher/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: bridge-history-fetcher helm charts
name: bridge-history-fetcher
version: 0.1.0
version: 0.1.1
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/bridge-history-fetcher/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bridge-history-fetcher

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

bridge-history-fetcher helm charts

Expand All @@ -23,7 +23,7 @@ Kubernetes: `>=1.22.0-0`

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| command[0] | string | `"/bin/sh"` | |
| command[0] | string | `"bash"` | |
| command[1] | string | `"-c"` | |
| command[2] | string | `"bridgehistoryapi-fetcher --config /app/conf/bridge-history-fetcher-config.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug"` | |
| configMaps.migrate-db.data."migrate-db.json" | string | `"{\n \"l1\": {},\n \"l2\": {},\n \"db\": {\n \"driver_name\": \"postgres\",\n \"maxOpenNum\": 50,\n \"maxIdleNume\": 5,\n \"dsn\": \"\"\n }\n}\n"` | |
Expand Down
8 changes: 3 additions & 5 deletions charts/bridge-history-fetcher/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ image:
tag: v4.4.71

command:
[
"/bin/sh",
"-c",
"bridgehistoryapi-fetcher --config /app/conf/bridge-history-fetcher-config.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug",
]
- "bash"
- "-c"
- "bridgehistoryapi-fetcher --config /app/conf/bridge-history-fetcher-config.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug"

env:
- name: METRICS_PORT
Expand Down
2 changes: 1 addition & 1 deletion charts/chain-monitor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: chain-monitor helm charts
name: chain-monitor
version: 0.1.0
version: 0.1.1
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/chain-monitor/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# chain-monitor

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

chain-monitor helm charts

Expand All @@ -23,7 +23,7 @@ Kubernetes: `>=1.22.0-0`

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| command[0] | string | `"/bin/sh"` | |
| command[0] | string | `"sh"` | |
| command[1] | string | `"-c"` | |
| command[2] | string | `"chain-monitor --config /app/config/chain-monitor-config.json --http --http.port ${CHAIN_MONITOR_SERVER_PORT} --metrics --metrics.addr 0.0.0.0 --metrics.port ${CHAIN_MONITOR_METRICS_PORT} --verbosity 3"` | |
| defaultProbes.enabled | bool | `false` | |
Expand Down
10 changes: 4 additions & 6 deletions charts/chain-monitor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ envFrom:
name: chain-monitor-env

command:
[
"/bin/sh",
"-c",
"chain-monitor --config /app/config/chain-monitor-config.json --http --http.port ${CHAIN_MONITOR_SERVER_PORT} \
- "sh"
- "-c"
- "chain-monitor --config /app/config/chain-monitor-config.json --http --http.port ${CHAIN_MONITOR_SERVER_PORT} \
--metrics --metrics.addr 0.0.0.0 --metrics.port ${CHAIN_MONITOR_METRICS_PORT} \
--verbosity 3"
]
--verbosity 3"

resources:
requests:
Expand Down
2 changes: 1 addition & 1 deletion charts/coordinator-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: coordinator-api helm charts
name: coordinator-api
version: 0.1.0
version: 0.1.1
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/coordinator-api/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coordinator-api

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

coordinator-api helm charts

Expand All @@ -23,7 +23,7 @@ Kubernetes: `>=1.22.0-0`

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| command[0] | string | `"/bin/sh"` | |
| command[0] | string | `"bash"` | |
| command[1] | string | `"-c"` | |
| command[2] | string | `"coordinator_api --config /coordinator/conf/coordinator-config.json --genesis /app/genesis/genesis.json --http --http.addr '0.0.0.0' --http.port ${HTTP_PORT} --metrics --metrics.addr '0.0.0.0' --metrics.port ${METRICS_PORT} --log.debug"` | |
| configMaps.download-params.data."download-params.sh" | string | `"#!/bin/sh\nset -ex\napt update\napt install wget libdigest-sha-perl -y\n\nRELEASE_VERSION_HI=v0.13.1\nRELEASE_VERSION_LO=v0.12.0\n\ncase $CHAIN_ID in\n\"5343532222\") # staging network\n echo \"staging network not supported\"\n exit 1\n ;;\n\"534353\") # alpha network\n echo \"alpha network not supported\"\n exit 1\n ;;\nesac\n\nP_CHECKSUMS=$(wget -O- https://circuit-release.s3.us-west-2.amazonaws.com/setup/sha256sum)\n# DOWNLOAD_RESULT=$?\n# ERROR=$(echo \"$P_CHECKSUMS\" | grep \"Error\")\n\n# if [ $DOWNLOAD_RESULT -ne 0 ] || [ \"$ERROR\" != \"\" ]; then\n# echo \"Failed to download params checksums\"\n# echo \"$P_CHECKSUMS\"\n# exit 1\n# fi\n\nR_CHECKSUMS_HI=$(wget -O- https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_HI/sha256sum)\n# DOWNLOAD_RESULT=$?\n# ERROR=$(echo \"$R_CHECKSUMS_HI\" | grep \"Error\")\n# if [ $DOWNLOAD_RESULT -ne 0 ] || [ \"$ERROR\" != \"\" ]; then\n# echo \"Failed to download release checksum for $RELEASE_VERSION_HI\"\n# echo \"$R_CHECKSUMS_HI\"\n# exit 1\n# fi\n\nR_CHECKSUMS_LO=$(wget -O- https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_LO/sha256sum)\n# DOWNLOAD_RESULT=$?\n# ERROR=$(echo \"$R_CHECKSUMS_LO\" | grep \"Error\")\n# if [ $DOWNLOAD_RESULT -ne 0 ] || [ \"$ERROR\" != \"\" ]; then\n# echo \"Failed to download release checksum for $RELEASE_VERSION_LO\"\n# echo \"$R_CHECKSUMS_LO\"\n# exit 1\n# fi\n\nPARAMS20_SHASUM=$(echo \"$P_CHECKSUMS\" | grep \"params20\" | cut -d \" \" -f 1)\nPARAMS21_SHASUM=$(echo \"$P_CHECKSUMS\" | grep \"params21\" | cut -d \" \" -f 1)\nPARAMS24_SHASUM=$(echo \"$P_CHECKSUMS\" | grep \"params24\" | cut -d \" \" -f 1)\nPARAMS25_SHASUM=$(echo \"$P_CHECKSUMS\" | grep \"params25\" | cut -d \" \" -f 1)\nPARAMS26_SHASUM=$(echo \"$P_CHECKSUMS\" | grep \"params26\" | cut -d \" \" -f 1)\n\n# assets_high\nVK_CHUNK_SHASUM_HI=$(echo \"$R_CHECKSUMS_HI\" | grep \"vk_chunk.vkey\" | cut -d \" \" -f 1)\nVK_BATCH_SHASUM_HI=$(echo \"$R_CHECKSUMS_HI\" | grep \"vk_batch.vkey\" | cut -d \" \" -f 1)\nVK_BUNDLE_SHASUM_HI=$(echo \"$R_CHECKSUMS_HI\" | grep \"vk_bundle.vkey\" | cut -d \" \" -f 1)\nVRFR_SHASUM_HI=$(echo \"$R_CHECKSUMS_HI\" | grep \"evm_verifier.bin\" | cut -d \" \" -f 1)\nCFG2_SHASUM_HI=$(echo \"$R_CHECKSUMS_HI\" | grep \"layer2.config\" | cut -d \" \" -f 1)\nCFG4_SHASUM_HI=$(echo \"$R_CHECKSUMS_HI\" | grep \"layer4.config\" | cut -d \" \" -f 1)\n\n# assets_low\nVK_CHUNK_SHASUM_LO=$(echo \"$R_CHECKSUMS_LO\" | grep \"vk_chunk.vkey\" | cut -d \" \" -f 1)\nVK_BATCH_SHASUM_LO=$(echo \"$R_CHECKSUMS_LO\" | grep \"vk_batch.vkey\" | cut -d \" \" -f 1)\nVK_BUNDLE_SHASUM_LO=$(echo \"$R_CHECKSUMS_LO\" | grep \"vk_bundle.vkey\" | cut -d \" \" -f 1)\nVRFR_SHASUM_LO=$(echo \"$R_CHECKSUMS_LO\" | grep \"evm_verifier.bin\" | cut -d \" \" -f 1)\nCFG2_SHASUM_LO=$(echo \"$R_CHECKSUMS_LO\" | grep \"layer2.config\" | cut -d \" \" -f 1)\nCFG4_SHASUM_LO=$(echo \"$R_CHECKSUMS_LO\" | grep \"layer4.config\" | cut -d \" \" -f 1)\n\ncheck_file() {\n file=$1\n url=$2\n shasum=$3\n if [ -f $file ]; then\n SHASUM=$(shasum -a 256 $file | cut -d \" \" -f 1)\n if [ \"$SHASUM\" != \"$shasum\" ]; then\n echo \"Shasum mismatch: expected=$shasum, actual=$SHASUM, Removing incorrect file $file\"\n rm $file\n download_file $file $url $shasum\n else\n echo \"Shasum matched, no need to download\"\n fi\n else\n download_file $file $url $shasum\n fi\n}\n\n# download files\ndownload_file() {\n file=$1\n url=$2\n shasum=$3\n if [ ! -f $file ]; then\n mkdir -p $(dirname $file)\n echo \"Downloading $file...\"\n wget --progress=dot:giga $url -O $file\n echo \"Download completed $file\"\n if [ $(shasum -a 256 $file | cut -d \" \" -f 1) != $shasum ];then exit 1;fi\n fi\n}\n\n\nmain(){\n case $1 in\n \"params\")\n # download params\n # check_file \"/verifier/params/params20\" \"https://circuit-release.s3.us-west-2.amazonaws.com/setup/params20\" \"$PARAMS20_SHASUM\"\n # check_file \"/verifier/params/params21\" \"https://circuit-release.s3.us-west-2.amazonaws.com/setup/params21\" \"$PARAMS21_SHASUM\"\n # check_file \"/verifier/params/params24\" \"https://circuit-release.s3.us-west-2.amazonaws.com/setup/params24\" \"$PARAMS24_SHASUM\"\n # check_file \"/verifier/params/params25\" \"https://circuit-release.s3.us-west-2.amazonaws.com/setup/params25\" \"$PARAMS25_SHASUM\"\n check_file \"/verifier/params/params26\" \"https://circuit-release.s3.us-west-2.amazonaws.com/setup/params26\" \"$PARAMS26_SHASUM\"\n ;;\n \"assets\")\n check_file \"/verifier/params/params20\" \"https://circuit-release.s3.us-west-2.amazonaws.com/setup/params20\" \"$PARAMS20_SHASUM\"\n check_file \"/verifier/params/params21\" \"https://circuit-release.s3.us-west-2.amazonaws.com/setup/params21\" \"$PARAMS21_SHASUM\"\n check_file \"/verifier/params/params24\" \"https://circuit-release.s3.us-west-2.amazonaws.com/setup/params24\" \"$PARAMS24_SHASUM\"\n check_file \"/verifier/params/params25\" \"https://circuit-release.s3.us-west-2.amazonaws.com/setup/params25\" \"$PARAMS25_SHASUM\"\n\n # download assets_hi\n check_file \"/verifier/assets/hi/vk_chunk.vkey\" \"https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_HI/vk_chunk.vkey\" \"$VK_CHUNK_SHASUM_HI\"\n check_file \"/verifier/assets/hi/vk_batch.vkey\" \"https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_HI/vk_batch.vkey\" \"$VK_BATCH_SHASUM_HI\"\n check_file \"/verifier/assets/hi/vk_bundle.vkey\" \"https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_HI/vk_bundle.vkey\" \"$VK_BUNDLE_SHASUM_HI\"\n check_file \"/verifier/assets/hi/evm_verifier.bin\" \"https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_HI/evm_verifier.bin\" \"$VRFR_SHASUM_HI\"\n check_file \"/verifier/assets/hi/layer2.config\" \"https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_HI/layer2.config\" \"$CFG2_SHASUM_HI\"\n check_file \"/verifier/assets/hi/layer4.config\" \"https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_HI/layer4.config\" \"$CFG4_SHASUM_HI\"\n # download assets_low\n check_file \"/verifier/assets/lo/vk_chunk.vkey\" \"https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_LO/vk_chunk.vkey\" \"$VK_CHUNK_SHASUM_LO\"\n check_file \"/verifier/assets/lo/vk_batch.vkey\" \"https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_LO/vk_batch.vkey\" \"$VK_BATCH_SHASUM_LO\"\n check_file \"/verifier/assets/lo/vk_bundle.vkey\" \"https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_LO/vk_bundle.vkey\" \"$VK_BUNDLE_SHASUM_LO\"\n check_file \"/verifier/assets/lo/evm_verifier.bin\" \"https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_LO/evm_verifier.bin\" \"$VRFR_SHASUM_LO\"\n check_file \"/verifier/assets/lo/layer2.config\" \"https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_LO/layer2.config\" \"$CFG2_SHASUM_LO\"\n check_file \"/verifier/assets/lo/layer4.config\" \"https://circuit-release.s3.us-west-2.amazonaws.com/release-$RELEASE_VERSION_LO/layer4.config\" \"$CFG4_SHASUM_LO\"\n ;;\n *)\n echo \"only supports params or assets\"\n exit 1\n ;;\n esac\n}\n\nmain $1\nls -R /verifier/assets\n"` | |
Expand Down
9 changes: 4 additions & 5 deletions charts/coordinator-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,14 @@ envFrom:
- configMapRef:
name: coordinator-api-env

command: [
"/bin/sh",
"-c",
"coordinator_api --config /coordinator/conf/coordinator-config.json \
command:
- "bash"
- "-c"
- "coordinator_api --config /coordinator/conf/coordinator-config.json \
--genesis /app/genesis/genesis.json \
--http --http.addr '0.0.0.0' --http.port ${HTTP_PORT} \
--metrics --metrics.addr '0.0.0.0' --metrics.port ${METRICS_PORT} \
--log.debug"
]

resources:
requests:
Expand Down
2 changes: 1 addition & 1 deletion charts/coordinator-cron/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: coordinator-cron helm charts
name: coordinator-cron
version: 0.1.0
version: 0.1.1
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/coordinator-cron/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# coordinator-cron

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

coordinator-cron helm charts

Expand All @@ -23,7 +23,7 @@ Kubernetes: `>=1.22.0-0`

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| command[0] | string | `"/bin/sh"` | |
| command[0] | string | `"bash"` | |
| command[1] | string | `"-c"` | |
| command[2] | string | `"coordinator_cron --config /app/conf/coordinator-cron-config.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug"` | |
| defaultProbes.custom | bool | `true` | |
Expand Down
11 changes: 5 additions & 6 deletions charts/coordinator-cron/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,12 @@ envFrom:
- configMapRef:
name: coordinator-cron-env

command: [
"/bin/sh",
"-c",
"coordinator_cron --config /app/conf/coordinator-cron-config.json \
command:
- "bash"
- "-c"
- "coordinator_cron --config /app/conf/coordinator-cron-config.json \
--metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} \
--log.debug",
]
--log.debug"

initContainers:
1-check-postgres-connection:
Expand Down
2 changes: 1 addition & 1 deletion charts/gas-oracle/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: gas-oracle helm charts
name: gas-oracle
version: 0.1.0
version: 0.1.1
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/gas-oracle/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gas-oracle

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

gas-oracle helm charts

Expand All @@ -23,7 +23,7 @@ Kubernetes: `>=1.22.0-0`

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| command[0] | string | `"/bin/sh"` | |
| command[0] | string | `"bash"` | |
| command[1] | string | `"-c"` | |
| command[2] | string | `"gas_oracle --config /app/conf/rollup-config.json --genesis /app/genesis/genesis.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug"` | |
| configMaps.migrate-db.data."migrate-db.json" | string | `"{\n \"driver_name\": \"postgres\",\n \"dsn\": \"\"\n}\n"` | |
Expand Down
8 changes: 3 additions & 5 deletions charts/gas-oracle/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ image:
tag: v4.4.71

command:
[
"/bin/sh",
"-c",
"gas_oracle --config /app/conf/rollup-config.json --genesis /app/genesis/genesis.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug"
]
- "bash"
- "-c"
- "gas_oracle --config /app/conf/rollup-config.json --genesis /app/genesis/genesis.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug"

podLabels:
app: *app_name
Expand Down
2 changes: 1 addition & 1 deletion charts/l1-devnet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: l1-devnet helm charts
name: l1-devnet
version: 0.1.1
version: 0.1.2
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
Loading