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

[lodestar]: add extraArgs and bump version #126

Merged
merged 11 commits into from
Aug 6, 2024
2 changes: 1 addition & 1 deletion charts/lodestar/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.1.1
version: 0.1.2

maintainers:
- name: matilote
Expand Down
8 changes: 5 additions & 3 deletions charts/lodestar/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# lodestar

![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

A Helm chart to deploy the Lodestar Consensus Client using Kubernetes

Expand All @@ -18,6 +18,8 @@ A Helm chart to deploy the Lodestar Consensus Client using Kubernetes
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| config.extraArgs | string | `""` | |
| config.metricsEnabled | bool | `true` | |
| env[0].name | string | `"BEACON_NODE_ADDRESS"` | |
| env[0].value | string | `""` | |
| env[1].name | string | `"NETWORK"` | |
Expand All @@ -29,7 +31,7 @@ A Helm chart to deploy the Lodestar Consensus Client using Kubernetes
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"chainsafe/lodestar"` | |
| image.tag | string | `"v1.11.3"` | |
| image.tag | string | `"v1.19.0"` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
Expand Down Expand Up @@ -59,4 +61,4 @@ A Helm chart to deploy the Lodestar Consensus Client using Kubernetes
| tolerations | list | `[]` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.12.0](https://github.com/norwoodj/helm-docs/releases/v1.12.0)
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
6 changes: 3 additions & 3 deletions charts/lodestar/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data:
run.sh: |
#!/bin/sh

for f in /home/charon/validator_keys/keystore-*.json; do
for f in /home/lodestar/validator_keys/keystore-*.json; do
echo "Importing key ${f}"

# Import keystore with password.
Expand All @@ -25,10 +25,10 @@ data:
exec node /usr/app/packages/cli/bin/lodestar validator \
--dataDir="/opt/data" \
--network="$NETWORK" \
--metrics=true \
--metrics={{ .Values.config.metricsEnabled }} \
--metrics.address="0.0.0.0" \
--metrics.port={{ .Values.service.ports.metrics }} \
--beaconNodes="$BEACON_NODE_ADDRESS" \
--builder="$BUILDER_API_ENABLED" \
--builder.selection="$BUILDER_SELECTION" \
--distributed
--distributed {{ .Values.config.extraArgs | default "" }}
3 changes: 2 additions & 1 deletion charts/lodestar/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
selector:
matchLabels:
{{- include "lodestar.selectorLabels" . | nindent 6 }}
serviceName: "{{ include "lodestar.fullname" . }}"
template:
metadata:
{{- with .Values.podAnnotations }}
Expand Down Expand Up @@ -55,7 +56,7 @@ spec:
volumeMounts:
- mountPath: /opt/lodestar
name: data
- mountPath: /home/charon/validator_keys
- mountPath: /home/lodestar/validator_keys
name: validator-keys
env:
{{- toYaml .Values.env | nindent 12 }}
Expand Down
6 changes: 5 additions & 1 deletion charts/lodestar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ image:
repository: chainsafe/lodestar
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v1.11.3"
tag: "v1.19.0"

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

config:
metricsEnabled: true
extraArgs: ""

env:
- name: "BEACON_NODE_ADDRESS"
value: ""
Expand Down
Loading