Skip to content

Commit

Permalink
[geth] hotfix snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
VladStarr committed Oct 27, 2023
1 parent 2609031 commit c1910cc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dysnix/geth/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: geth
description: Go-ethereum blockchain node Helm Chart

version: 1.0.11
version: 1.0.12
appVersion: v1.13.2

keywords:
Expand Down
2 changes: 1 addition & 1 deletion dysnix/geth/templates/configmap-scripts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
data:
check-readiness.sh: |-
{{- include (print $.Template.BasePath "/scripts/_check-readiness.tpl") . | nindent 4 }}
{{- if or .Values.syncToS3.enabled .Values.initFromS3.eanbled }}
{{- if or .Values.syncToS3.enabled .Values.initFromS3.enabled }}
init-from-s3.sh: |-
{{- include (print $.Template.BasePath "/scripts/_init-from-s3.tpl") . | nindent 4 }}
sync-to-s3.sh: |-
Expand Down
6 changes: 6 additions & 0 deletions dysnix/geth/templates/s3-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,10 @@ data:
S3_CHAINDATA_URL: {{ tpl .Values.s3config.chaindataUrl . }}
S3_ANCIENT_URL: {{ tpl .Values.s3config.ancientUrl . }}
FORCE_INIT: {{ ternary "True" "False" .Values.initFromS3.force | quote }}
{{- with .Values.s3config.chaindataDir }}
CHAINDATA_DIR: {{ tpl . $ }}
{{- end }}
{{- with .Values.s3config.ancientDir }}
ANCIENT_DIR: {{ tpl . $ }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions dysnix/geth/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ s3config:
# GCS https://cloud.google.com/storage/docs/authentication/managing-hmackeys#create
accessKeyId: REPLACEME
secretAccessKey: REPLACEME
# override local paths
# chaindataDir: /root/.ethereum/geth/chaindata
# ancientDir: /root/.ethereum/geth/chaindata/ancient

initFromS3:
# enable initContainer
Expand Down

0 comments on commit c1910cc

Please sign in to comment.