Commit 39e1f2f0 authored by Yuliya Sharafitdinova's avatar Yuliya Sharafitdinova

Update values (scVerifier)

parent 4b417b19
...@@ -8,17 +8,11 @@ blockscout: ...@@ -8,17 +8,11 @@ blockscout:
_default: &image blockscout/blockscout-optimism-l2-advanced:5.1.0-prerelease-79ae6fd2 _default: &image blockscout/blockscout-optimism-l2-advanced:5.1.0-prerelease-79ae6fd2
replicas: replicas:
app: 1 app: 1
docker:
port: 80
targetPort: 4000
# init container # init container
init: init:
enabled: true enabled: true
image: image:
_default: *image _default: *image
service:
# ClusterIP, NodePort or LoadBalancer
type: ClusterIP
# enable ingress # enable ingress
ingress: ingress:
enabled: true enabled: true
...@@ -64,17 +58,6 @@ blockscout: ...@@ -64,17 +58,6 @@ blockscout:
_default: "1Gi" _default: "1Gi"
cpu: cpu:
_default: "1" _default: "1"
# enable service to connect to RDS
rds:
enabled: false
endpoint:
_default: <endpoint>.<region>.rds.amazonaws.com
# node label
nodeSelector:
enabled: true
labels:
_default:
app: blockscout
# Blockscout environment variables # Blockscout environment variables
environment: environment:
ENV: ENV:
...@@ -194,30 +177,6 @@ scVerifier: ...@@ -194,30 +177,6 @@ scVerifier:
enabled: true enabled: true
image: image:
_default: ghcr.io/blockscout/smart-contract-verifier:main _default: ghcr.io/blockscout/smart-contract-verifier:main
replicas:
app: 1
ports:
http:
number: 8050
protocol: TCP
host: 'http.'
path: "/"
pathType: Prefix
grpc:
number: 8051
protocol: TCP
host: 'grpc.'
path: "/"
pathType: Prefix
metrics:
number: 6060
protocol: TCP
host: "metrics."
path: "/metrics"
pathType: Exact
service:
# ClusterIP, NodePort or LoadBalancer
type: ClusterIP
# enable ingress # enable ingress
ingress: ingress:
enabled: true enabled: true
...@@ -237,24 +196,6 @@ scVerifier: ...@@ -237,24 +196,6 @@ scVerifier:
_default: "0.5Gi" _default: "0.5Gi"
cpu: cpu:
_default: "0.25" _default: "0.25"
# node label
nodeSelector:
enabled: true
labels:
app: blockscout
# probes
livenessProbe:
enabled: true
# path: /health
readinessProbe:
enabled: true
# path: /health
# enable Horizontal Pod Autoscaler
hpa:
enabled: true
minReplicas: 1
maxReplicas: 10
cpuTarget: 90
environment: environment:
SMART_CONTRACT_VERIFIER__SERVER__HTTP__ADDR: SMART_CONTRACT_VERIFIER__SERVER__HTTP__ADDR:
_default: 0.0.0.0:8050 _default: 0.0.0.0:8050
...@@ -298,17 +239,6 @@ stats: ...@@ -298,17 +239,6 @@ stats:
image: image:
_default: ghcr.io/blockscout/stats:main _default: ghcr.io/blockscout/stats:main
replicas:
app: 1
docker:
port: 80
targetPort: 8050
metricsPort: 6060
service:
# ClusterIP, NodePort or LoadBalancer
type: ClusterIP
# enable ingress # enable ingress
ingress: ingress:
enabled: true enabled: true
...@@ -335,11 +265,6 @@ stats: ...@@ -335,11 +265,6 @@ stats:
cpu: cpu:
_default: "0.25" _default: "0.25"
# node label
nodeSelector:
enabled: true
app: blockscout
environment: environment:
RUST_LOG: RUST_LOG:
_default: info _default: info
...@@ -355,11 +280,6 @@ frontend: ...@@ -355,11 +280,6 @@ frontend:
enabled: true enabled: true
image: image:
_default: ghcr.io/blockscout/frontend:main _default: ghcr.io/blockscout/frontend:main
replicas:
app: 1
docker:
port: 80
targetPort: 3000
ingress: ingress:
enabled: true enabled: true
# annotations: # annotations:
...@@ -400,11 +320,6 @@ frontend: ...@@ -400,11 +320,6 @@ frontend:
_default: "0.3Gi" _default: "0.3Gi"
cpu: cpu:
_default: "0.2" _default: "0.2"
# node label
nodeSelector:
enabled: true
labels:
app: blockscout
environment: environment:
NEXT_PUBLIC_BLOCKSCOUT_VERSION: NEXT_PUBLIC_BLOCKSCOUT_VERSION:
_default: v5.1.0-beta _default: v5.1.0-beta
......
...@@ -258,126 +258,12 @@ geth: ...@@ -258,126 +258,12 @@ geth:
enabled: false enabled: false
files: files:
enabled: true enabled: true
# geth:
# enabled: true
# image:
# _default: ethereum/client-go:stable
# replicas:
# app: 1
# portHttp: 8545
# portWs: 8546
# portAuth: 8551
# command:
# - /bin/sh
# - -c
# - |-
# /root/init.sh --fakepow --dev --dev.period=1 --datadir=/root/.ethereum/devnet --keystore=/root/.ethereum/devnet/keystore --password=/root/password.txt --unlock=0 --unlock=1 --mine --miner.threads=1 --miner.etherbase=0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 --ipcpath=/root/geth.ipc --http --http.vhosts=* --http.addr=0.0.0.0 --http.port=8545 --http.api=eth,net,web3,debug,txpool --ws --ws.origins=* --ws.addr=0.0.0.0 --ws.port=8546 --ws.api=eth,net,web3,debug,txpool --graphql --graphql.corsdomain=* --allow-insecure-unlock --rpc.allow-unprotected-txs --http.corsdomain=* --vmdebug --networkid=1337 --rpc.txfeecap=0
# # command: '["geth"]'
# # args: '["--goerli", "--datadir=/.ethereum", "--gcmode=archive", "--http", "--http.vhosts=*", "--http.addr=0.0.0.0", "--http.port=8545", "--http.api=eth,net,web3,debug,txpool", "--ws", "--ws.origins=*", "--ws.addr=0.0.0.0", "--ws.port=8546", "--ws.api=eth,net,web3,debug,txpool", "--allow-insecure-unlock", "--rpc.allow-unprotected-txs", "--http.corsdomain=*", "--vmdebug", "--rpc.txfeecap=0"]'
# environment: {}
# persistence:
# enabled: true
# mountPath: /geth
# storageClass: gp3-new
# storage: 1000Gi
# resources:
# limits:
# memory:
# _default: "8Gi"
# cpu:
# _default: "2"
# requests:
# memory:
# _default: "8Gi"
# cpu:
# _default: "2"
# # node label
# nodeSelector:
# enabled: true
# app: blockscout
# service:
# # ClusterIP, NodePort or LoadBalancer
# type: ClusterIP
# # enable ingress
# ingress:
# enabled: true
# host:
# _default: node.test.blockscout.aws-k8s.blockscout.com
# # enable https
# tls:
# enabled: false
# jwt:
# enabled: true
# mountPath: /geth/geth/jwtsecret
# files:
# enabled: false
# # enable client deploy (Prysm, lighthouse, nimbus, etc.)
# client:
# enabled: true
# image:
# _default: gcr.io/prysmaticlabs/prysm/beacon-chain:stable
# # command: '["sh","./root/init.sh"]'
# args: '["--goerli", "--datadir=/data", "--jwt-secret=/geth/geth/jwtsecret", "--rpc-host=0.0.0.0", "--grpc-gateway-host=0.0.0.0", "--monitoring-host=0.0.0.0", "--execution-endpoint=http://geth-svc:8545", "--checkpoint-sync-url=https://goerli.checkpoint-sync.ethdevops.io", "--genesis-beacon-api-url=https://goerli.checkpoint-sync.ethdevops.io"]'
# ports:
# port-tcp:
# number: 13000
# protocol: TCP
# port-udp:
# number: 12000
# protocol: UDP
# port-rpc:
# number: 4000
# protocol: TCP
# port-rpc-gtw:
# number: 3500
# protocol: TCP
# port-monitoring:
# number: 8080
# protocol: TCP
# persistence:
# enabled: false
# mountPath: path
# storageClass: gp3-new
# storage: 100Gi
# files:
# enabled: false
# list: {}
# service:
# # ClusterIP, NodePort or LoadBalancer
# type: ClusterIP
# # enable ingress
# ingress:
# enabled: false
# host:
# # enable https
# tls:
# enabled: false
# environment: {}
# resources:
# limits:
# memory:
# _default: "6Gi"
# cpu:
# _default: "3"
# requests:
# memory:
# _default: "6Gi"
# cpu:
# _default: "3"
# enable Smart-contract-verifier deploy # enable Smart-contract-verifier deploy
scVerifier: scVerifier:
enabled: true enabled: true
image: image:
_default: ghcr.io/blockscout/smart-contract-verifier:main _default: ghcr.io/blockscout/smart-contract-verifier:main
replicas:
app: 1
# docker:
# port: 80
# targetPort: 8043
# metricsPort: 6060
service:
# ClusterIP, NodePort or LoadBalancer
type: ClusterIP
# enable ingress # enable ingress
ingress: ingress:
enabled: true enabled: true
...@@ -397,23 +283,6 @@ scVerifier: ...@@ -397,23 +283,6 @@ scVerifier:
_default: "0.05Gi" _default: "0.05Gi"
cpu: cpu:
_default: "0.01" _default: "0.01"
# node label
nodeSelector:
enabled: true
app: blockscout
# probes
livenessProbe:
enabled: true
# path: /health
readinessProbe:
enabled: true
# path: /health
# enable Horizontal Pod Autoscaler
hpa:
enabled: true
minReplicas: 1
maxReplicas: 10
cpuTarget: 90
environment: environment:
SMART_CONTRACT_VERIFIER__SERVER__HTTP__ADDR: SMART_CONTRACT_VERIFIER__SERVER__HTTP__ADDR:
_default: 0.0.0.0:8050 _default: 0.0.0.0:8050
...@@ -505,12 +374,6 @@ frontend: ...@@ -505,12 +374,6 @@ frontend:
_default: "0.1Gi" _default: "0.1Gi"
cpu: cpu:
_default: "0.1" _default: "0.1"
# node label
nodeSelector:
enabled: true
labels:
_default:
app: blockscout
environment: environment:
# ui config # ui config
NEXT_PUBLIC_FEATURED_NETWORKS: NEXT_PUBLIC_FEATURED_NETWORKS:
...@@ -573,7 +436,7 @@ frontend: ...@@ -573,7 +436,7 @@ frontend:
_default: https://rpc.ankr.com/eth_goerli _default: https://rpc.ankr.com/eth_goerli
NEXT_PUBLIC_HOMEPAGE_CHARTS: NEXT_PUBLIC_HOMEPAGE_CHARTS:
_default: "['daily_txs','coin_price','market_cup']" _default: "['daily_txs','coin_price','market_cup']"
NEXT_PUBLIC_API_SPEC_URL: NEXT_PUBLIC_API_SPEC_URL:
_default: https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml _default: https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml
NEXT_PUBLIC_IS_TESTNET: NEXT_PUBLIC_IS_TESTNET:
_default: true _default: true
...@@ -5,15 +5,8 @@ frontend: ...@@ -5,15 +5,8 @@ frontend:
enabled: true enabled: true
image: image:
_default: ghcr.io/blockscout/frontend:main _default: ghcr.io/blockscout/frontend:main
replicas:
app: 1
docker:
port: 80
targetPort: 3000
ingress: ingress:
enabled: true enabled: true
# annotations:
# - 'nginx.ingress.kubernetes.io/use-regex: "true"'
host: host:
_default: frontend.test.blockscout.aws-k8s.blockscout.com _default: frontend.test.blockscout.aws-k8s.blockscout.com
# enable https # enable https
...@@ -57,10 +50,6 @@ frontend: ...@@ -57,10 +50,6 @@ frontend:
_default: "0.1Gi" _default: "0.1Gi"
cpu: cpu:
_default: "0.1" _default: "0.1"
# node label
nodeSelector:
enabled: true
app: blockscout
environment: environment:
NEXT_PUBLIC_BLOCKSCOUT_VERSION: NEXT_PUBLIC_BLOCKSCOUT_VERSION:
_default: v5.1.0-beta _default: v5.1.0-beta
......
global: global:
env: review env: review
# enable Blockscout deploy
blockscout:
app: blockscout
enabled: false
image:
_default: blockscout/blockscout:latest
replicas:
app: 1
docker:
port: 80
targetPort: 4000
# init container
init:
enabled: true
image:
_default: blockscout/blockscout:latest
service:
# ClusterIP, NodePort or LoadBalancer
type: ClusterIP
# enable ingress
ingress:
enabled: true
annotations: {}
# - 'nginx.ingress.kubernetes.io/rewrite-target: /$2'
host:
_default: blockscout.test.blockscout.aws-k8s.blockscout.com
# enable https
#
tls:
enabled: true
path:
prefix:
# - "/poa/sokol(/|$)(.*)"
- "/"
# probes
livenessProbe:
enabled: true
path: /
readinessProbe:
enabled: true
path: /
resources:
limits:
memory:
_default: "1Gi"
cpu:
_default: "2"
requests:
memory:
_default: "1Gi"
cpu:
_default: "2"
# enable service to connect to RDS
rds:
enabled: false
endpoint:
_default: <endpoint>.<region>.rds.amazonaws.com
# node label
nodeSelector:
enabled: true
app: blockscout
# Blockscout environment variables
environment:
ENV:
_default: test
RESOURCE_MODE:
_default: account
PUBLIC:
_default: 'false'
PORT:
_default: 4000
PORT_PG:
_default: 5432
PORT_NETWORK_HTTP:
_default: 8545
PORT_NETWORK_WS:
_default: 8546
ETHEREUM_JSONRPC_VARIANT:
_default: geth
ETHEREUM_JSONRPC_TRACE_URL:
_default: http://geth-svc:8545
ETHEREUM_JSONRPC_HTTP_URL:
_default: http://geth-svc:8545
ETHEREUM_JSONRPC_WS_URL:
_default: ws://geth-svc:8546
COIN:
_default: DAI
MIX_ENV:
_default: prod
ECTO_USE_SSL:
_default: 'false'
RUST_VERIFICATION_SERVICE_URL:
_default: http://sc-verifier-svc:8043
ACCOUNT_ENABLED:
_default: 'true'
DISABLE_REALTIME_INDEXER:
_default: 'false'
SOCKET_ROOT:
_default: "/"
NETWORK_PATH:
_default: "/"
API_PATH:
_default: "/"
ETHEREUM_JSONRPC_DISABLE_ARCHIVE_BALANCES:
_default: 'true'
API_BASE_PATH:
_default: "/"
APPS_MENU:
_default: 'true'
EXTERNAL_APPS:
_default: '[{"title": "Marketplace", "url": "/apps"}]'
JSON_RPC:
_default: https://sokol.poa.network
API_V2_ENABLED:
_default: 'true'
postgres:
enabled: false
image: postgres:13.8
port: 5432
command: '["docker-entrypoint.sh", "-c"]'
args: '["max_connections=300"]'
# persistence: true
resources:
limits:
memory:
_default: "4Gi"
cpu:
_default: "3"
requests:
memory:
_default: "4Gi"
cpu:
_default: "3"
environment:
POSTGRES_USER:
_default: 'postgres'
POSTGRES_HOST_AUTH_METHOD:
_default: 'trust'
# enable geth deploy
geth:
enabled: false
image:
_default: ethereum/client-go:stable
replicas:
app: 1
ports:
http:
number: 8545
protocol: TCP
ws:
number: 8546
protocol: TCP
auth:
number: 8551
protocol: TCP
command:
- /bin/sh
- -c
- |-
/root/init.sh --fakepow --dev --dev.period=1 --datadir=/root/.ethereum/devnet --keystore=/root/.ethereum/devnet/keystore --password=/root/password.txt --unlock=0 --unlock=1 --mine --miner.threads=1 --miner.etherbase=0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 --ipcpath=/root/geth.ipc --http --http.vhosts=* --http.addr=0.0.0.0 --http.port=8545 --http.api=eth,net,web3,debug,txpool --ws --ws.origins=* --ws.addr=0.0.0.0 --ws.port=8546 --ws.api=eth,net,web3,debug,txpool --graphql --graphql.corsdomain=* --allow-insecure-unlock --rpc.allow-unprotected-txs --http.corsdomain=* --vmdebug --networkid=1337 --rpc.txfeecap=0
environment: {}
persistence:
enabled: false
resources:
limits:
memory:
_default: "2Gi"
cpu:
_default: "0.2"
requests:
memory:
_default: "2Gi"
cpu:
_default: "0.2"
# node label
nodeSelector:
enabled: true
app: blockscout
service:
# ClusterIP, NodePort or LoadBalancer
type: ClusterIP
# enable ingress
ingress:
enabled: true
host:
_default: node.test.blockscout.aws-k8s.blockscout.com
# enable https
tls:
enabled: false
jwt:
enabled: false
files:
enabled: true
# enable Smart-contract-verifier deploy
scVerifier:
enabled: false
image:
_default: ghcr.io/blockscout/smart-contract-verifier:main
replicas:
app: 1
# docker:
# port: 80
# targetPort: 8043
# metricsPort: 6060
service:
# ClusterIP, NodePort or LoadBalancer
type: ClusterIP
# enable ingress
ingress:
enabled: true
host:
_default: verifier.test.blockscout.aws-k8s.blockscout.com
# enable https
tls:
enabled: true
resources:
limits:
memory:
_default: "0.5Gi"
cpu:
_default: "0.25"
requests:
memory:
_default: "0.5Gi"
cpu:
_default: "0.25"
# node label
nodeSelector:
enabled: true
app: blockscout
# probes
livenessProbe:
enabled: true
# path: /health
readinessProbe:
enabled: true
# path: /health
# enable Horizontal Pod Autoscaler
hpa:
enabled: true
minReplicas: 1
maxReplicas: 10
cpuTarget: 90
environment:
SMART_CONTRACT_VERIFIER__SERVER__HTTP__ADDR:
_default: 0.0.0.0:8050
SMART_CONTRACT_VERIFIER__SERVER__GRPC__ADDR:
_default: 0.0.0.0:8051
# SMART_CONTRACT_VERIFIER__SOLIDITY__ENABLED:
# _default: 'true'
SMART_CONTRACT_VERIFIER__SOLIDITY__COMPILERS_DIR:
_default: /tmp/solidity-compilers
SMART_CONTRACT_VERIFIER__SOLIDITY__REFRESH_VERSIONS_SCHEDULE:
_default: 0 0 * * * * *
# It depends on the OS you are running the service on
# SMART_CONTRACT_VERIFIER__SOLIDITY__FETCHER__LIST__LIST_URL:
# _default: https://solc-bin.ethereum.org/linux-amd64/list.json
#SMART_CONTRACT_VERIFIER__SOLIDITY__FETCHER__LIST__LIST_URL=https://solc-bin.ethereum.org/macosx-amd64/list.json
#SMART_CONTRACT_VERIFIER__SOLIDITY__FETCHER__LIST__LIST_URL=https://solc-bin.ethereum.org/windows-amd64/list.json
SMART_CONTRACT_VERIFIER__SOLIDITY__FETCHER__S3__REGION:
_default: ""
SMART_CONTRACT_VERIFIER__SOLIDITY__FETCHER__S3__ENDPOINT:
_default: https://storage.googleapis.com
SMART_CONTRACT_VERIFIER__SOURCIFY__ENABLED:
_default: 'true'
SMART_CONTRACT_VERIFIER__SOURCIFY__API_URL:
_default: https://sourcify.dev/server/
SMART_CONTRACT_VERIFIER__SOURCIFY__VERIFICATION_ATTEMPTS:
_default: 3
SMART_CONTRACT_VERIFIER__SOURCIFY__REQUEST_TIMEOUT:
_default: 10
SMART_CONTRACT_VERIFIER__METRICS__ENABLED:
_default: 'true'
SMART_CONTRACT_VERIFIER__METRICS__ADDR:
_default: 0.0.0.0:6060
SMART_CONTRACT_VERIFIER__METRICS__ROUTE:
_default: /metrics
SMART_CONTRACT_VERIFIER__JAEGER__ENABLED:
_default: 'false'
frontend: frontend:
app: blockscout app: blockscout
enabled: true enabled: true
image: image:
_default: ghcr.io/blockscout/frontend:main _default: ghcr.io/blockscout/frontend:main
replicas:
app: 1
docker:
port: 80
targetPort: 3000
ingress: ingress:
enabled: true enabled: true
# annotations:
# - 'nginx.ingress.kubernetes.io/use-regex: "true"'
host: host:
_default: frontend.test.blockscout.aws-k8s.blockscout.com _default: frontend.test.blockscout.aws-k8s.blockscout.com
# enable https # enable https
...@@ -341,10 +50,6 @@ frontend: ...@@ -341,10 +50,6 @@ frontend:
_default: "0.1Gi" _default: "0.1Gi"
cpu: cpu:
_default: "0.1" _default: "0.1"
# node label
nodeSelector:
enabled: true
app: blockscout
environment: environment:
NEXT_PUBLIC_BLOCKSCOUT_VERSION: NEXT_PUBLIC_BLOCKSCOUT_VERSION:
_default: v4.1.8-beta _default: v4.1.8-beta
...@@ -410,7 +115,7 @@ frontend: ...@@ -410,7 +115,7 @@ frontend:
_default: https://rpc.ankr.com/eth_goerli _default: https://rpc.ankr.com/eth_goerli
NEXT_PUBLIC_NETWORK_EXPLORERS: NEXT_PUBLIC_NETWORK_EXPLORERS:
_default: "[{'title':'Anyblock','baseUrl':'https://explorer.anyblock.tools','paths':{'tx':'/ethereum/ethereum/goerli/transaction','address':'/ethereum/ethereum/goerli/address'}},{'title':'Etherscan','baseUrl':'https://goerli.etherscan.io/','paths':{'tx':'/tx','address':'/address'}}]" _default: "[{'title':'Anyblock','baseUrl':'https://explorer.anyblock.tools','paths':{'tx':'/ethereum/ethereum/goerli/transaction','address':'/ethereum/ethereum/goerli/address'}},{'title':'Etherscan','baseUrl':'https://goerli.etherscan.io/','paths':{'tx':'/tx','address':'/address'}}]"
NEXT_PUBLIC_API_SPEC_URL: NEXT_PUBLIC_API_SPEC_URL:
_default: https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml _default: https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml
NEXT_PUBLIC_IS_TESTNET: NEXT_PUBLIC_IS_TESTNET:
_default: true _default: true
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment