Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update teku chart #524

Merged
merged 3 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/teku/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,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: 2.5.6
version: 2.5.7

# 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
3 changes: 3 additions & 0 deletions charts/teku/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ spec:
--network={{ .Values.global.network }}
{{- if .Values.initialState }}
--initial-state={{ .Values.initialState }}/eth/v2/debug/beacon/states/finalized
{{- end }}
{{- if .Values.checkpointSyncUrl }}
--checkpoint-sync-url={{ .Values.checkpointSyncUrl }}
{{- end }}
--config-file=/data/teku/config.yaml
--data-beacon-path=/data/teku/beacon
Expand Down
15 changes: 11 additions & 4 deletions charts/teku/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ podAnnotations: {}
# if --data-storage-mode is set to PRUNE
dataStorageArchiveFrequency: "2048"
# Sets the strategy for handling historical chain data
# (Valid values: ARCHIVE, PRUNE)
dataStorageMode: PRUNE
# (Valid values: archive, prune, minimal)
dataStorageMode: minimal
# Store non-canonical blocks
dataStorageNonCanonicalBlocksEnabled: false
# Rest API Settings
Expand All @@ -355,12 +355,19 @@ restApi:
# Enable swagger-docs and swagger-ui endpoints
docsEnabled: false

## If set, teku will download a recent finalized checkpoint state from a beacon node. For more information see here: https://docs.teku.consensys.net/en/latest/HowTo/Get-Started/Checkpoint-Start/
## Note: The newer way to perform a checkpoint sync is using 'checkpointSyncUrl'.
## However, you can still use 'initialState'. If you provide both accidentally, 'checkpointSyncUrl' will be prioritized.

## If set, teku will perform a checkpoint sync. For more information see here: https://docs.teku.consensys.io/reference/cli#checkpoint-sync-url
## Respective public checkpoint sync endpoints can be found here: https://eth-clients.github.io/checkpoint-sync-endpoints/
## It is not recommended to blindly trust any public beacon node.
## Therefore please verify that you are on the correct chain: https://notes.ethereum.org/@launchpad/checkpoint-sync#1-Obtaining-finalized-checkpoint-amp-state-root
##
checkpointSyncUrl: ""

## If set, teku will download a recent finalized checkpoint state from a beacon node. For more information see here: https://docs.teku.consensys.net/en/latest/HowTo/Get-Started/Checkpoint-Start/
## Note:
## Additionally to the checkpoint sync url Teku needs the following path to obtain the finalized state: /eth/v2/debug/beacon/states/finalized
## Additionally to 'checkpointSyncUrl', Teku needs the following path to obtain the finalized state: /eth/v2/debug/beacon/states/finalized
## To keep UX similar across all charts, the path is hardcoded in the statefulset, so you DON'T need to add it here.
##
initialState: ""
Expand Down