indexsupply / shovel

An Ethereum to Postgres indexer
https://indexsupply.com/shovel
MIT License
183 stars 23 forks source link

add shovel helm chart #265

Closed laibe closed 4 months ago

laibe commented 4 months ago

Adds shovel helm chart for easy deployment in Kubernetes. Installs bitnami/postgresql by default but users are free to specify their own PostgreSQL and disable the included PostgreSQL via --set global.postgresql.enabled=false.

Quick start:

helm install shovel charts/shovel
# (optional) port-forward to PostgreSQL for local queries
kubectl port-forward svc/shovel-postgresql -n shovel 5432:5432

Shovel config is part of the values.yaml written in yaml instead of json, e.g.

  # -- Shovel config example (see https://indexsupply.com/shovel/docs/#config for more information)
  config:
    pg_url: "$PG_URL"
    eth_sources:
      - name: mainnet
        chain_id: 1
        url: https://eth.merkle.io
[...]

originates from https://github.com/jalbritt/ETHBerlin-shovel-bootstrap , joint work with @jalbritt

ryandotsmith commented 4 months ago

Thanks for the contribution. I appreciate the effort. However, I don't think I will accept this code. It's not something that I want to maintain. However, if you want to maintain and host this code I would be happy to point people in your direction should they ask for a helm setup.

laibe commented 4 months ago

sure, chart lives now in laibe/helm-charts.