Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Jun 17, 2024
1 parent ba40787 commit 3f4147a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/evm-rollup/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.19.1
version: 0.19.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
12 changes: 12 additions & 0 deletions charts/evm-rollup/templates/statefulsets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ spec:
app: {{ .Values.config.rollup.name }}-astria-dev-cluster
spec:
initContainers:
{{- if .Values.config.rollup.purgeMempool }}
- name: purge-mempool
image: {{ include "rollup.image" . }}
command: [ "sh", "-c", "rm -f $data_dir/geth/transactions.rlp" ]
envFrom:
- configMapRef:
name: {{ .Values.config.rollup.name }}-geth-env
volumeMounts:
- mountPath: /home/geth
name: {{ $.Values.config.rollup.name }}-rollup-shared-storage-vol
subPath: {{ .Values.config.rollup.name }}/executor
{{- end }}
- name: init-geth
command: [ "/scripts/init-geth.sh" ]
image: {{ include "rollup.image" . }}
Expand Down
2 changes: 1 addition & 1 deletion charts/evm-rollup/templates/storageclasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
provisioner: kubernetes.io/no-provisioner
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Retain
{{- if .Values.config.blockscout.enabled }}
{{- if $.Values.config.blockscout.enabled }}
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
Expand Down
2 changes: 2 additions & 0 deletions charts/evm-rollup/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ config:
dbEngine: pebble
# Set to true to keep history of all blocks
archiveNode: false
# Set to true to clear the mempool on startup/restart
purgeMempool: false
# EVM network ID used by the chain
networkId: "1337"
# Determines what will drive block execution, options are:
Expand Down

0 comments on commit 3f4147a

Please sign in to comment.