Skip to content

Commit 04b537b

Browse files
authored
fix: support graceful shutdown (#246)
* fix: support graceful shutdown
1 parent 0126d1e commit 04b537b

File tree

41 files changed

+123
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+123
-143
lines changed

charts/admin-system-backend/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: admin-system-backend helm charts
44
name: admin-system-backend
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

charts/admin-system-backend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# admin-system-backend
22

3-
![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)
3+
![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)
44

55
admin-system-backend helm charts
66

charts/admin-system-cron/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: admin-system-cron helm charts
44
name: admin-system-cron
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

charts/admin-system-cron/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# admin-system-cron
22

3-
![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)
3+
![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)
44

55
admin-system-cron helm charts
66

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

2424
| Key | Type | Default | Description |
2525
|-----|------|---------|-------------|
26-
| command[0] | string | `"/bin/sh"` | |
26+
| command[0] | string | `"bash"` | |
2727
| command[1] | string | `"-c"` | |
2828
| command[2] | string | `"scroll-admin-cron --config /app/config/admin-system-backend-config.json --http.port ${HTTP_PORT} --metrics --metrics.port ${METRICS_PORT}"` | |
2929
| controller.replicas | int | `1` | |

charts/admin-system-cron/values.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,12 @@ envFrom:
2929
- configMapRef:
3030
name: admin-system-cron-env
3131

32-
command: [
33-
"/bin/sh",
34-
"-c",
35-
"scroll-admin-cron --config /app/config/admin-system-backend-config.json \
36-
--http.port ${HTTP_PORT} \
37-
--metrics --metrics.port ${METRICS_PORT}",
38-
]
32+
command:
33+
- "bash"
34+
- "-c"
35+
- "scroll-admin-cron --config /app/config/admin-system-backend-config.json \
36+
--http.port ${HTTP_PORT} \
37+
--metrics --metrics.port ${METRICS_PORT}"
3938

4039
resources:
4140
requests:

charts/bridge-history-api/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: bridge-history-api helm charts
44
name: bridge-history-api
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

charts/bridge-history-api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# bridge-history-api
22

3-
![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)
3+
![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)
44

55
bridge-history-api helm charts
66

@@ -25,7 +25,7 @@ Kubernetes: `>=1.22.0-0`
2525
|-----|------|---------|-------------|
2626
| additionalContainers.redis.image | string | `"redis"` | |
2727
| additionalContainers.redis.name | string | `"redis"` | |
28-
| command[0] | string | `"/bin/sh"` | |
28+
| command[0] | string | `"bash"` | |
2929
| command[1] | string | `"-c"` | |
3030
| 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"` | |
3131
| controller.replicas | int | `1` | |

charts/bridge-history-api/values.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ image:
1313
tag: v4.4.71
1414

1515
command:
16-
[
17-
"/bin/sh",
18-
"-c",
19-
"bridgehistoryapi-api --config /app/conf/bridge-history-api-config.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug",
20-
]
16+
- "bash"
17+
- "-c"
18+
- "bridgehistoryapi-api --config /app/conf/bridge-history-api-config.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug"
2119

2220
env:
2321
- name: METRICS_PORT

charts/bridge-history-fetcher/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: bridge-history-fetcher helm charts
44
name: bridge-history-fetcher
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

charts/bridge-history-fetcher/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# bridge-history-fetcher
22

3-
![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)
3+
![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)
44

55
bridge-history-fetcher helm charts
66

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

2424
| Key | Type | Default | Description |
2525
|-----|------|---------|-------------|
26-
| command[0] | string | `"/bin/sh"` | |
26+
| command[0] | string | `"bash"` | |
2727
| command[1] | string | `"-c"` | |
2828
| 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"` | |
2929
| 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"` | |

charts/bridge-history-fetcher/values.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ image:
1313
tag: v4.4.71
1414

1515
command:
16-
[
17-
"/bin/sh",
18-
"-c",
19-
"bridgehistoryapi-fetcher --config /app/conf/bridge-history-fetcher-config.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug",
20-
]
16+
- "bash"
17+
- "-c"
18+
- "bridgehistoryapi-fetcher --config /app/conf/bridge-history-fetcher-config.json --metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} --log.debug"
2119

2220
env:
2321
- name: METRICS_PORT

charts/chain-monitor/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: chain-monitor helm charts
44
name: chain-monitor
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

charts/chain-monitor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# chain-monitor
22

3-
![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)
3+
![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)
44

55
chain-monitor helm charts
66

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

2424
| Key | Type | Default | Description |
2525
|-----|------|---------|-------------|
26-
| command[0] | string | `"/bin/sh"` | |
26+
| command[0] | string | `"sh"` | |
2727
| command[1] | string | `"-c"` | |
2828
| 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"` | |
2929
| defaultProbes.enabled | bool | `false` | |

charts/chain-monitor/values.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ envFrom:
1919
name: chain-monitor-env
2020

2121
command:
22-
[
23-
"/bin/sh",
24-
"-c",
25-
"chain-monitor --config /app/config/chain-monitor-config.json --http --http.port ${CHAIN_MONITOR_SERVER_PORT} \
22+
- "sh"
23+
- "-c"
24+
- "chain-monitor --config /app/config/chain-monitor-config.json --http --http.port ${CHAIN_MONITOR_SERVER_PORT} \
2625
--metrics --metrics.addr 0.0.0.0 --metrics.port ${CHAIN_MONITOR_METRICS_PORT} \
27-
--verbosity 3"
28-
]
26+
--verbosity 3"
2927

3028
resources:
3129
requests:

charts/coordinator-api/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: coordinator-api helm charts
44
name: coordinator-api
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

charts/coordinator-api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coordinator-api
22

3-
![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)
3+
![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)
44

55
coordinator-api helm charts
66

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

2424
| Key | Type | Default | Description |
2525
|-----|------|---------|-------------|
26-
| command[0] | string | `"/bin/sh"` | |
26+
| command[0] | string | `"bash"` | |
2727
| command[1] | string | `"-c"` | |
2828
| 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"` | |
2929
| 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"` | |

charts/coordinator-api/values.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,14 @@ envFrom:
2727
- configMapRef:
2828
name: coordinator-api-env
2929

30-
command: [
31-
"/bin/sh",
32-
"-c",
33-
"coordinator_api --config /coordinator/conf/coordinator-config.json \
30+
command:
31+
- "bash"
32+
- "-c"
33+
- "coordinator_api --config /coordinator/conf/coordinator-config.json \
3434
--genesis /app/genesis/genesis.json \
3535
--http --http.addr '0.0.0.0' --http.port ${HTTP_PORT} \
3636
--metrics --metrics.addr '0.0.0.0' --metrics.port ${METRICS_PORT} \
3737
--log.debug"
38-
]
3938

4039
resources:
4140
requests:

charts/coordinator-cron/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: coordinator-cron helm charts
44
name: coordinator-cron
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

charts/coordinator-cron/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coordinator-cron
22

3-
![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)
3+
![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)
44

55
coordinator-cron helm charts
66

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

2424
| Key | Type | Default | Description |
2525
|-----|------|---------|-------------|
26-
| command[0] | string | `"/bin/sh"` | |
26+
| command[0] | string | `"bash"` | |
2727
| command[1] | string | `"-c"` | |
2828
| 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"` | |
2929
| defaultProbes.custom | bool | `true` | |

charts/coordinator-cron/values.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ envFrom:
2424
- configMapRef:
2525
name: coordinator-cron-env
2626

27-
command: [
28-
"/bin/sh",
29-
"-c",
30-
"coordinator_cron --config /app/conf/coordinator-cron-config.json \
27+
command:
28+
- "bash"
29+
- "-c"
30+
- "coordinator_cron --config /app/conf/coordinator-cron-config.json \
3131
--metrics --metrics.addr 0.0.0.0 --metrics.port ${METRICS_PORT} \
32-
--log.debug",
33-
]
32+
--log.debug"
3433

3534
initContainers:
3635
1-check-postgres-connection:

charts/gas-oracle/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: gas-oracle helm charts
44
name: gas-oracle
5-
version: 0.1.0
5+
version: 0.1.1
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

charts/gas-oracle/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# gas-oracle
22

3-
![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)
3+
![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)
44

55
gas-oracle helm charts
66

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

2424
| Key | Type | Default | Description |
2525
|-----|------|---------|-------------|
26-
| command[0] | string | `"/bin/sh"` | |
26+
| command[0] | string | `"bash"` | |
2727
| command[1] | string | `"-c"` | |
2828
| 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"` | |
2929
| configMaps.migrate-db.data."migrate-db.json" | string | `"{\n \"driver_name\": \"postgres\",\n \"dsn\": \"\"\n}\n"` | |

charts/gas-oracle/values.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ image:
99
tag: v4.4.71
1010

1111
command:
12-
[
13-
"/bin/sh",
14-
"-c",
15-
"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"
16-
]
12+
- "bash"
13+
- "-c"
14+
- "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"
1715

1816
podLabels:
1917
app: *app_name

charts/l1-devnet/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v2
33
description: l1-devnet helm charts
44
name: l1-devnet
5-
version: 0.1.1
5+
version: 0.1.2
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:

0 commit comments

Comments
 (0)