From a9e5f762e56c5c8b5030098a52e52b747b9079c2 Mon Sep 17 00:00:00 2001 From: Sebastien Baizet Date: Mon, 9 Sep 2024 09:48:35 +0200 Subject: [PATCH] fix: chain-monitor dsn on step 2 and 1 init container --- charts/chain-monitor/Chart.yaml | 2 +- charts/chain-monitor/README.md | 2 +- charts/chain-monitor/values/production.yaml | 14 +++++++++++++- charts/scroll-sdk/Chart.yaml | 4 ++-- charts/scroll-sdk/README.md | 4 ++-- 5 files changed, 19 insertions(+), 7 deletions(-) diff --git a/charts/chain-monitor/Chart.yaml b/charts/chain-monitor/Chart.yaml index 1da945e9..032ea72d 100644 --- a/charts/chain-monitor/Chart.yaml +++ b/charts/chain-monitor/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 description: chain-monitor helm charts name: chain-monitor -version: 0.0.5 +version: 0.0.6 appVersion: v0.1.0 kubeVersion: ">=1.22.0-0" maintainers: diff --git a/charts/chain-monitor/README.md b/charts/chain-monitor/README.md index 5f90cd97..bd7cd8d0 100644 --- a/charts/chain-monitor/README.md +++ b/charts/chain-monitor/README.md @@ -1,6 +1,6 @@ # chain-monitor -![Version: 0.0.5](https://img.shields.io/badge/Version-0.0.5-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square) +![Version: 0.0.6](https://img.shields.io/badge/Version-0.0.6-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 diff --git a/charts/chain-monitor/values/production.yaml b/charts/chain-monitor/values/production.yaml index 9599aefe..c55f5ad7 100644 --- a/charts/chain-monitor/values/production.yaml +++ b/charts/chain-monitor/values/production.yaml @@ -6,12 +6,24 @@ initContainers: image: atkrad/wait4x:latest args: - postgresql - - $(DATABASE_URL) + - $(SCROLL_CHAIN_MONITOR_DB_CONFIG_DSN) - --timeout - "0" envFrom: - secretRef: name: chain-monitor-secret-env + 2-migrate-db: + image: scrolltech/chain-monitorv2:v1.1.29 + command: + - /bin/sh + - -c + - chain-monitor --config /app/config/chain-monitor-config.json --db --db.migrate + volumeMounts: + - name: chain-monitor + mountPath: /app/config/ + envFrom: + - secretRef: + name: chain-monitor-secret-env 4-wait-for-l2-sequencer: image: atkrad/wait4x:latest args: diff --git a/charts/scroll-sdk/Chart.yaml b/charts/scroll-sdk/Chart.yaml index 40fb056d..f5e3b323 100644 --- a/charts/scroll-sdk/Chart.yaml +++ b/charts/scroll-sdk/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 description: scroll helm charts to deploy scroll sdk name: scroll-sdk -version: 0.0.27 +version: 0.0.28 appVersion: v0.1.0 kubeVersion: ">=1.22.0-0" maintainers: @@ -38,7 +38,7 @@ dependencies: repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm" condition: blockscout-sc-verifier.enabled - name: chain-monitor - version: 0.0.5 + version: 0.0.6 repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm" condition: chain-monitor.enabled - name: contracts diff --git a/charts/scroll-sdk/README.md b/charts/scroll-sdk/README.md index c1564a55..3b7b517f 100644 --- a/charts/scroll-sdk/README.md +++ b/charts/scroll-sdk/README.md @@ -1,6 +1,6 @@ # scroll-sdk -![Version: 0.0.27](https://img.shields.io/badge/Version-0.0.27-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square) +![Version: 0.0.28](https://img.shields.io/badge/Version-0.0.28-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square) scroll helm charts to deploy scroll sdk @@ -26,7 +26,7 @@ Kubernetes: `>=1.22.0-0` | oci://ghcr.io/scroll-tech/scroll-sdk/helm | blockscout-sc-verifier | 0.0.2 | | oci://ghcr.io/scroll-tech/scroll-sdk/helm | bridge-history-api | 0.0.6 | | oci://ghcr.io/scroll-tech/scroll-sdk/helm | bridge-history-fetcher | 0.0.7 | -| oci://ghcr.io/scroll-tech/scroll-sdk/helm | chain-monitor | 0.0.5 | +| oci://ghcr.io/scroll-tech/scroll-sdk/helm | chain-monitor | 0.0.6 | | oci://ghcr.io/scroll-tech/scroll-sdk/helm | contracts | 0.0.5 | | oci://ghcr.io/scroll-tech/scroll-sdk/helm | coordinator-api | 0.0.6 | | oci://ghcr.io/scroll-tech/scroll-sdk/helm | coordinator-cron | 0.0.6 |