Skip to content

feat: support existing Secret for the engine JWT - #489

Merged
barnabasbusa merged 5 commits into
ethpandaops:masterfrom
penumbra23:feat/jwt-existing-secret
Aug 7, 2026
Merged

barnabasbusa merged 5 commits into
ethpandaops:masterfrom
penumbra23:feat/jwt-existing-secret

Conversation

@penumbra23

@penumbra23 penumbra23 commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

When configuring the JWT secret for reth + lighthouse, the secret can't be managed outside of the values file, which makes publishing values files (Git, buckets) impossible while retaining the same security standards. This PR introduces a well-known pattern of referencing external secrets for the JWT token (to all EL/CL charts).

Tests

  • pre-commit run --all-files
  • make lint
  • helm test on a local kind cluster

Add an existingJwtSecret value to reference a Secret created outside the
chart (e.g. by an external secrets operator). When set, the chart-managed
JWT Secret is not rendered and the jwt value is ignored. The referenced
Secret must contain the JWT hex string under the key jwt.hex.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@penumbra23
penumbra23 requested a review from skylenet as a code owner July 16, 2026 10:43
@penumbra23

Copy link
Copy Markdown
Contributor Author

@barnabasbusa Should be a pretty ez one but solves a lot of issues on my side (I guess for others as well)

@barnabasbusa

Copy link
Copy Markdown
Collaborator

Could you please make sure you target all the different helm charts? Would be good to have this kind of change uniform for all EL/CLs

@penumbra23

Copy link
Copy Markdown
Contributor Author

@barnabasbusa Added the external secret on the other 12 charts, it's pretty straightforward and inlined with the reth/lightouse changes, except for eleel which has a comment above (since it's 3 secrets in one manifest).

@penumbra23 penumbra23 changed the title feat(reth,lighthouse): support existing Secret for the engine JWT feat: support existing Secret for the engine JWT Aug 4, 2026

@barnabasbusa barnabasbusa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — consistent existingJwtSecret pattern across all 14 charts, secret creation properly guarded, all mount points covered, chart versions bumped.

@barnabasbusa
barnabasbusa enabled auto-merge (squash) August 7, 2026 13:15
@barnabasbusa
barnabasbusa merged commit 70cbe50 into ethpandaops:master Aug 7, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants