Skip to content

Commit

Permalink
Merge pull request #5 from scroll-tech/cleaning
Browse files Browse the repository at this point in the history
cleaning comments and remove unnecessary files
  • Loading branch information
sbaizet-ledger authored May 23, 2024
2 parents 05e1ef2 + f9eaa1d commit fd2de51
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 1,092 deletions.
2 changes: 0 additions & 2 deletions charts/scroll-stack/charts/bridge-history-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ probes:
startup:
<<: *default_probes

# this api is a read-only service, it doesn't need to init and migrate again, since all db procedures are finished in fetcher

additionalContainers:
redis:
name: redis
Expand Down
2 changes: 0 additions & 2 deletions charts/scroll-stack/charts/bridge-history-fetcher/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ initContainers:
secretKeyRef:
name: db-secrets
key: BRIDGE_HISTORY_PASSWORD
# command: ["bash", "-c",
# "psql -h $POSTGRES_URL -U $POSTGRES_USER -p 5432 -c \"CREATE DATABASE ${POSTGRES_DB};\""]
command: ["bash", "-c", "./init-db.sh"]
volumeMounts:
- name: init-db
Expand Down
2 changes: 0 additions & 2 deletions charts/scroll-stack/charts/chain-monitor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ initContainers:
secretKeyRef:
name: db-secrets
key: CHAIN_MONITOR_PASSWORD
# command: ["bash", "-c",
# "psql -h $POSTGRES_URL -U $POSTGRES_USER -p 5432 -c \"CREATE DATABASE ${POSTGRES_DB};\""]
command: ["bash","-c","./init-db.sh"]
volumeMounts:
- name: init-db
Expand Down
34 changes: 0 additions & 34 deletions charts/scroll-stack/charts/coordinator-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,40 +276,6 @@ configMaps:
echo "Download completed\n"
if ! check_shasum "/data/assets/layer4.config" "$CFG4_SHASUM"; then exit 1; fi
fi
# config:
# enabled: true
# data:
# config.json: |
# {
# "prover_manager": {
# "provers_per_session": 1,
# "session_attempts": 100,
# "chunk_collection_time_sec": 3600,
# "batch_collection_time_sec": 600,
# "verifier": {
# "fork_name": "bernoulli",
# "mock_mode": false,
# "params_path": "/verifier/params",
# "assets_path": "/verifier/assets"
# },
# "max_verifier_workers": 4,
# "min_prover_version": "v4.3.41"
# },
# "db": {
# "driver_name": "postgres",
# "dsn": "postgres://postgres:qwerty12345@postgresql:5432/scroll",
# "maxOpenNum": 200,
# "maxIdleNum": 20
# },
# "l2": {
# "chain_id": 222222
# },
# "auth": {
# "secret": "XXX",
# "challenge_expire_duration_sec": 10,
# "login_expire_duration_sec": 3600
# }
# }
serviceMonitor:
main:
Expand Down
36 changes: 0 additions & 36 deletions charts/scroll-stack/charts/coordinator-cron/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,42 +76,6 @@ probes:
startup:
<< : *default_probes

#configMaps:
# config:
# enabled: true
# data:
# config.json: |
# {
# "prover_manager": {
# "provers_per_session": 1,
# "session_attempts": 100,
# "chunk_collection_time_sec": 3600,
# "batch_collection_time_sec": 600,
# "verifier": {
# "fork_name": "bernoulli",
# "mock_mode": false,
# "params_path": "/verifier/params",
# "assets_path": "/verifier/assets"
# },
# "max_verifier_workers": 4,
# "min_prover_version": "v4.3.41"
# },
# "db": {
# "driver_name": "postgres",
# "dsn": "postgres://postgres:qwerty12345@postgresql:5432/scroll",
# "maxOpenNum": 200,
# "maxIdleNum": 20
# },
# "l2": {
# "chain_id": 222222
# },
# "auth": {
# "secret": "XXX",
# "challenge_expire_duration_sec": 10,
# "login_expire_duration_sec": 3600
# }
# }

serviceMonitor:
main:
enabled: true
Expand Down
4 changes: 0 additions & 4 deletions charts/scroll-stack/charts/event-watcher/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ podLabels:
dbaccess: "true"

initContainers:
#Used to create the db.
#We do not use it to generate the users though, we use the admin by default. #see the config.json file
init-db:
image: postgres:latest
env:
Expand Down Expand Up @@ -58,8 +56,6 @@ initContainers:
secretKeyRef:
name: db-secrets
key: EVENT_WATCHER_PASSWORD
# command: ["bash", "-c",
# "psql -h $POSTGRES_URL -U $POSTGRES_USER -p 5432 -c \"CREATE DATABASE ${POSTGRES_DB};\""]
command: ["bash","-c","./init-db.sh"]
volumeMounts:
- name: init-db
Expand Down
6 changes: 0 additions & 6 deletions charts/scroll-stack/charts/gas-oracle/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ global:
nameOverride: &app_name gas-oracle
fullnameOverride: *app_name

#controller:
# annotations:
# secret.reloader.stakater.com/reload: "gas-oracle,event-watcher-genesis"

image:
repository: scrolltech/gas-oracle
pullPolicy: Always
Expand Down Expand Up @@ -124,8 +120,6 @@ initContainers:
secretKeyRef:
name: db-secrets
key: GAS_ORACLE_PASSWORD
# command: ["bash", "-c",
# "psql -h $POSTGRES_URL -U $POSTGRES_USER -p 5432 -c \"CREATE DATABASE ${POSTGRES_DB};\""]
command: ["bash","-c","./init-db.sh"]
volumeMounts:
- name: init-db
Expand Down
8 changes: 0 additions & 8 deletions charts/scroll-stack/charts/l2geth-bootnode/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,6 @@ persistence:
mountPath: /l2geth/data
accessMode: ReadWriteOnce
size: 10Gi
# config-toml:
# enabled: yes
# type: configMap
# mountPath: /l2geth/
# name: scroll-smart-contracts-config
# items:
# - key: config.toml
# path: config.toml
genesis:
enabled: yes
type: configMap
Expand Down
Loading

0 comments on commit fd2de51

Please sign in to comment.