Skip to content

Commit 939d4aa

Browse files
feat: use blockscout chart
1 parent 97bc76b commit 939d4aa

File tree

8 files changed

+169
-288
lines changed

8 files changed

+169
-288
lines changed

charts/blockscout/Chart.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
---
22
apiVersion: v2
3-
description: blockscout helm charts
3+
description: blockscout scroll helm charts
44
name: blockscout
5-
version: 0.0.3
5+
version: 0.0.4
66
appVersion: v0.1.0
77
kubeVersion: ">=1.22.0-0"
88
maintainers:
99
- name: scroll-tech
1010
email: sebastien@scroll.io
1111
dependencies:
12-
- name: common
13-
repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm"
14-
version: 1.5.1
1512
- name: external-secrets-lib
1613
repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm"
1714
version: 0.0.3

charts/blockscout/README.md

Lines changed: 49 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# blockscout
22

3-
![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
3+
![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
44

5-
blockscout helm charts
5+
blockscout scroll helm charts
66

77
## Maintainers
88

@@ -16,119 +16,59 @@ Kubernetes: `>=1.22.0-0`
1616

1717
| Repository | Name | Version |
1818
|------------|------|---------|
19-
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | common | 1.5.1 |
2019
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | external-secrets-lib | 0.0.3 |
2120

2221
## Values
2322

2423
| Key | Type | Default | Description |
2524
|-----|------|---------|-------------|
26-
| command[0] | string | `"/bin/sh"` | |
27-
| command[1] | string | `"-c"` | |
28-
| command[2] | string | `"/app/bin/blockscout start"` | |
29-
| controller.replicas | int | `1` | |
30-
| controller.strategy | string | `"Recreate"` | |
31-
| controller.type | string | `"deployment"` | |
32-
| defaultProbes.custom | bool | `true` | |
33-
| defaultProbes.enabled | bool | `true` | |
34-
| defaultProbes.spec.httpGet.path | string | `"/"` | |
35-
| defaultProbes.spec.httpGet.port | int | `3000` | |
36-
| envFrom[0].configMapRef.name | string | `"blockscout-env"` | |
37-
| env[0].name | string | `"ECTO_USE_SSL"` | |
38-
| env[0].value | bool | `false` | |
39-
| env[10].name | string | `"LOGO"` | |
40-
| env[10].value | string | `"/images/logo.svg"` | |
41-
| env[11].name | string | `"WEBAPP_URL"` | |
42-
| env[11].value | string | `"https://blockscout.scroll.tech"` | |
43-
| env[12].name | string | `"BLOCKSCOUT_HOST"` | |
44-
| env[12].value | string | `"test-blockscout.scroll.io"` | |
45-
| env[13].name | string | `"JSON_RPC"` | |
46-
| env[13].value | string | `"http://l2-sequencer:8545"` | |
47-
| env[14].name | string | `"SUBNETWORK"` | |
48-
| env[14].value | string | `"Scroll Sepolia Testnet"` | |
49-
| env[15].name | string | `"SUPPORTED_CHAINS"` | |
50-
| env[15].value | string | `"[{ \"title\": \"Etherscan (Sepolia)\", \"url\": \"https://sepolia.etherscan.io\", \"test_net?\": true }, { \"title\": \"Scroll Sepolia Testnet\", \"url\": \"http://test-blockscout.scroll.io\", \"test_net?\": true }]"` | |
51-
| env[16].name | string | `"DISABLE_EXCHANGE_RATES"` | |
52-
| env[16].value | bool | `true` | |
53-
| env[17].name | string | `"BLOCKSCOUT_VERSION"` | |
54-
| env[17].value | string | `"5.2.1"` | |
55-
| env[18].name | string | `"FOOTER_GITHUB_LINK"` | |
56-
| env[18].value | string | `"https://github.com/scroll-tech/blockscout"` | |
57-
| env[19].name | string | `"RELEASE_LINK"` | |
58-
| env[19].value | string | `"https://github.com/scroll-tech"` | |
59-
| env[1].name | string | `"ETHEREUM_JSONRPC_HTTP_URL"` | |
60-
| env[1].value | string | `"http://l2-sequencer:8545"` | |
61-
| env[20].name | string | `"RELEASE_NODE"` | |
62-
| env[20].value | string | `"l2_blockscout"` | |
63-
| env[21].name | string | `"ETHEREUM_JSONRPC_DEBUG_TRACE_TRANSACTION_TIMEOUT"` | |
64-
| env[21].value | string | `"10s"` | |
65-
| env[22].name | string | `"INDEXER_MEMORY_LIMIT"` | |
66-
| env[22].value | string | `"10gb"` | |
67-
| env[23].name | string | `"BLOCK_TRANSFORMER"` | |
68-
| env[23].value | string | `"clique"` | |
69-
| env[24].name | string | `"MICROSERVICE_SC_VERIFIER_ENABLED"` | |
70-
| env[24].value | bool | `true` | |
71-
| env[25].name | string | `"MICROSERVICE_SC_VERIFIER_URL"` | |
72-
| env[25].value | string | `"http://blockscout-sc-verifier:8080"` | |
73-
| env[26].name | string | `"CHAIN_SPEC_PATH"` | |
74-
| env[26].value | string | `"/app/genesis/genesis.json"` | |
75-
| env[2].name | string | `"ETHEREUM_JSONRPC_TRACE_URL"` | |
76-
| env[2].value | string | `"http://l2-sequencer:8545"` | |
77-
| env[3].name | string | `"ETHEREUM_JSONRPC_VARIANT"` | |
78-
| env[3].value | string | `"geth"` | |
79-
| env[4].name | string | `"ETHEREUM_JSONRPC_WS_URL"` | |
80-
| env[4].value | string | `"ws://l2-sequencer:8546"` | |
81-
| env[5].name | string | `"INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER"` | |
82-
| env[5].value | bool | `true` | |
83-
| env[6].name | string | `"PORT"` | |
84-
| env[6].value | int | `3000` | |
85-
| env[7].name | string | `"NETWORK"` | |
86-
| env[7].value[0] | string | `""` | |
87-
| env[8].name | string | `"COIN"` | |
88-
| env[8].value | string | `"ETH"` | |
89-
| env[9].name | string | `"COIN_NAME"` | |
90-
| env[9].value | string | `"ETH"` | |
91-
| global.fullnameOverride | string | `"blockscout"` | |
92-
| global.nameOverride | string | `"blockscout"` | |
93-
| image.pullPolicy | string | `"Always"` | |
94-
| image.repository | string | `"blockscout/blockscout"` | |
95-
| image.tag | string | `"6.6.0"` | |
96-
| ingress.main.annotations | object | `{}` | |
97-
| ingress.main.enabled | bool | `true` | |
98-
| ingress.main.hosts[0].host | string | `"blockscout.scrollsdk"` | |
99-
| ingress.main.hosts[0].paths[0].path | string | `"/"` | |
100-
| ingress.main.hosts[0].paths[0].pathType | string | `"Prefix"` | |
101-
| ingress.main.ingressClassName | string | `"nginx"` | |
102-
| ingress.main.labels | object | `{}` | |
103-
| ingress.main.primary | bool | `true` | |
104-
| initContainers.1-migrate-db.command[0] | string | `"/bin/sh"` | |
105-
| initContainers.1-migrate-db.command[1] | string | `"-c"` | |
106-
| initContainers.1-migrate-db.command[2] | string | `"/app/bin/blockscout eval \"Elixir.Explorer.ReleaseTasks.create_and_migrate()\""` | |
107-
| initContainers.1-migrate-db.envFrom[0].configMapRef.name | string | `"blockscout-env"` | |
108-
| initContainers.1-migrate-db.image | string | `"blockscout/blockscout:6.6.0"` | |
109-
| persistence.env.enabled | bool | `true` | |
110-
| persistence.env.mountPath | string | `"/config/"` | |
111-
| persistence.env.name | string | `"blockscout-env"` | |
112-
| persistence.env.type | string | `"configMap"` | |
113-
| persistence.genesis.enabled | bool | `true` | |
114-
| persistence.genesis.mountPath | string | `"/app/genesis/"` | |
115-
| persistence.genesis.name | string | `"genesis-config"` | |
116-
| persistence.genesis.type | string | `"configMap"` | |
117-
| probes.liveness.<<.custom | bool | `true` | |
118-
| probes.liveness.<<.enabled | bool | `true` | |
119-
| probes.liveness.<<.spec.httpGet.path | string | `"/"` | |
120-
| probes.liveness.<<.spec.httpGet.port | int | `3000` | |
121-
| probes.readiness.<<.custom | bool | `true` | |
122-
| probes.readiness.<<.enabled | bool | `true` | |
123-
| probes.readiness.<<.spec.httpGet.path | string | `"/"` | |
124-
| probes.readiness.<<.spec.httpGet.port | int | `3000` | |
125-
| probes.startup.<<.custom | bool | `true` | |
126-
| probes.startup.<<.enabled | bool | `true` | |
127-
| probes.startup.<<.spec.httpGet.path | string | `"/"` | |
128-
| probes.startup.<<.spec.httpGet.port | int | `3000` | |
129-
| service.main.enabled | bool | `true` | |
130-
| service.main.ports.http.enabled | bool | `true` | |
131-
| service.main.ports.http.port | int | `3000` | |
25+
| blockscout-stack.blockscout.env.BLOCK_TRANSFORMER | string | `"clique"` | |
26+
| blockscout-stack.blockscout.env.CHAIN_TYPE | string | `"scroll"` | |
27+
| blockscout-stack.blockscout.env.ETHEREUM_JSONRPC_HTTP_URL | string | `"http://l2-rpc:8545"` | |
28+
| blockscout-stack.blockscout.env.ETHEREUM_JSONRPC_TRACE_URL | string | `"http://l2-rpc:8545"` | |
29+
| blockscout-stack.blockscout.env.ETHEREUM_JSONRPC_VARIANT | string | `"geth"` | |
30+
| blockscout-stack.blockscout.env.ETHEREUM_JSONRPC_WS_URL | string | `"ws://l2-rpc:8546"` | |
31+
| blockscout-stack.blockscout.env.INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER | bool | `true` | |
32+
| blockscout-stack.blockscout.env.INDEXER_SCROLL_L1_ETH_GET_LOGS_RANGE_SIZE | int | `500` | |
33+
| blockscout-stack.blockscout.env.INDEXER_SCROLL_L2_ETH_GET_LOGS_RANGE_SIZE | int | `500` | |
34+
| blockscout-stack.blockscout.env.INDEXER_SCROLL_L2_MESSENGER_START_BLOCK | int | `0` | |
35+
| blockscout-stack.blockscout.env.SCROLL_L2_CURIE_UPGRADE_BLOCK | int | `0` | |
36+
| blockscout-stack.blockscout.envFrom[0].configMapRef.name | string | `"blockscout-env"` | |
37+
| blockscout-stack.blockscout.image.pullPolicy | string | `"IfNotPresent"` | |
38+
| blockscout-stack.blockscout.image.repository | string | `"blockscout/blockscout-scroll"` | |
39+
| blockscout-stack.blockscout.image.tag | string | `"6.9.0-alpha.1"` | |
40+
| blockscout-stack.blockscout.ingress.annotations."cert-manager.io/cluster-issuer" | string | `"letsencrypt-prod"` | |
41+
| blockscout-stack.blockscout.ingress.annotations."nginx.ingress.kubernetes.io/cors-allow-headers" | string | `"updated-gas-oracle, Content-Type, Authorization"` | |
42+
| blockscout-stack.blockscout.ingress.annotations."nginx.ingress.kubernetes.io/cors-allow-methods" | string | `"GET, POST, OPTIONS"` | |
43+
| blockscout-stack.blockscout.ingress.annotations."nginx.ingress.kubernetes.io/cors-allow-origin" | string | `"https://blockscout.scrollsdk"` | |
44+
| blockscout-stack.blockscout.ingress.annotations."nginx.ingress.kubernetes.io/cors-max-age" | string | `"86400"` | |
45+
| blockscout-stack.blockscout.ingress.annotations."nginx.ingress.kubernetes.io/enable-cors" | string | `"true"` | |
46+
| blockscout-stack.blockscout.ingress.className | string | `"nginx"` | |
47+
| blockscout-stack.blockscout.ingress.enabled | bool | `true` | |
48+
| blockscout-stack.blockscout.ingress.hostname | string | `"blockscout-backend.scrollsdk"` | |
49+
| blockscout-stack.frontend.env.FAVICON_MASTER_URL | string | `"https://github.com/blockscout/frontend-configs/main/configs/favicons/scroll_180x180.png"` | |
50+
| blockscout-stack.frontend.env.NEXT_PUBLIC_HOMEPAGE_CHARTS | string | `"[\"daily_txs\"]"` | |
51+
| blockscout-stack.frontend.env.NEXT_PUBLIC_HOMEPAGE_HERO_BANNER_CONFIG | string | `"{'background':['rgba(255, 238, 218, 1)'],'text_color':['rgba(25, 6, 2, 1)']}"` | |
52+
| blockscout-stack.frontend.env.NEXT_PUBLIC_HOMEPAGE_STATS | string | `"[\"total_blocks\", \"average_block_time\", \"total_txs\", \"wallet_addresses\", \"gas_tracker\"]"` | |
53+
| blockscout-stack.frontend.env.NEXT_PUBLIC_NETWORK_ICON | string | `"https://github.com/blockscout/frontend-configs/main/configs/network-icons/scroll.svg"` | |
54+
| blockscout-stack.frontend.env.NEXT_PUBLIC_NETWORK_ICON_DARK | string | `"https://github.com/blockscout/frontend-configs/main/configs/network-icons/scroll-dark.svg"` | |
55+
| blockscout-stack.frontend.env.NEXT_PUBLIC_NETWORK_LOGO | string | `"https://github.com/blockscout/frontend-configs/main/configs/network-logos/scroll.svg"` | |
56+
| blockscout-stack.frontend.env.NEXT_PUBLIC_NETWORK_LOGO_DARK | string | `"https://github.com/blockscout/frontend-configs/main/configs/network-logos/scroll-dark.svg"` | |
57+
| blockscout-stack.frontend.env.NEXT_PUBLIC_OG_IMAGE_URL | string | `"https://github.com/blockscout/frontend-configs/main/configs/og-images/scroll-sepolia.png"` | |
58+
| blockscout-stack.frontend.envFrom[0].configMapRef.name | string | `"blockscout-frontend-env"` | |
59+
| blockscout-stack.frontend.image.tag | string | `"v1.35.2"` | |
60+
| blockscout-stack.frontend.ingress.annotations."cert-manager.io/cluster-issuer" | string | `"letsencrypt-prod"` | |
61+
| blockscout-stack.frontend.ingress.annotations."nginx.ingress.kubernetes.io/cors-allow-headers" | string | `"updated-gas-oracle, Content-Type, Authorization"` | |
62+
| blockscout-stack.frontend.ingress.annotations."nginx.ingress.kubernetes.io/cors-allow-methods" | string | `"GET, POST, OPTIONS"` | |
63+
| blockscout-stack.frontend.ingress.annotations."nginx.ingress.kubernetes.io/cors-allow-origin" | string | `"https://blockscout.scrollsdk"` | |
64+
| blockscout-stack.frontend.ingress.annotations."nginx.ingress.kubernetes.io/cors-max-age" | string | `"86400"` | |
65+
| blockscout-stack.frontend.ingress.annotations."nginx.ingress.kubernetes.io/enable-cors" | string | `"true"` | |
66+
| blockscout-stack.frontend.ingress.className | string | `"nginx"` | |
67+
| blockscout-stack.frontend.ingress.enabled | bool | `true` | |
68+
| blockscout-stack.frontend.ingress.hostname | string | `"blockscout.scrollsdk"` | |
69+
| blockscout-stack.fullnameOverride | string | `"blockscout"` | |
70+
| blockscout-stack.imagePullSecrets[0].name | string | `"docker-secret"` | |
71+
| blockscout-stack.nameOverride | string | `"blockscout"` | |
13272

13373
----------------------------------------------
13474
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,2 @@
11
---
2-
{{- include "scroll.common.loader.init" . }}
3-
4-
{{- define "app-template.hardcodedValues" -}}
5-
# Set the nameOverride based on the release name if no override has been set
6-
{{ if not .Values.global.nameOverride }}
7-
global:
8-
nameOverride: "{{ .Release.Name }}"
9-
{{ end }}
10-
{{- end -}}
11-
{{- $_ := mergeOverwrite .Values (include "app-template.hardcodedValues" . | fromYaml) -}}
12-
13-
{{/* Render the templates */}}
14-
{{ include "scroll.common.loader.generate" . }}
15-
---
162
{{- include "scrolllib.externalsecrets.tpl" . }}

0 commit comments

Comments
 (0)