Skip to content

core: add support for extra volumes and secret#160

Open
jacekn wants to merge 2 commits intostellar:mainfrom
jacekn:secret
Open

core: add support for extra volumes and secret#160
jacekn wants to merge 2 commits intostellar:mainfrom
jacekn:secret

Conversation

@jacekn
Copy link
Copy Markdown
Contributor

@jacekn jacekn commented Apr 10, 2026

What

This PR will allow operators to mount extra secret and volumes in the core and core-init containers.

Why

To allow us to run multiple validators from one StatefulSet we need a way for each pod to use different seed.
Having capability to use pre-existing secret and memory-backed empty dir will allow operators to prepare seeds in the init continainer and consume them in the core container.

### What

This PR will allow operators to mount extra secret and
volumes in the core and core-init containers.

### Why

To allow us to run multiple validators from one StatefulSet
we need a way for each pod to use different seed.
Having capability to use pre-existing secret and memory-backed
empty dir will allow operators to prepare seeds in the init
continainer and consume them in the core container.
Copilot AI review requested due to automatic review settings April 10, 2026 14:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Helm chart configurability to mount an operator-provided Secret and arbitrary additional volumes/volumeMounts into the core-init and core containers, enabling per-pod seed handling for multi-validator StatefulSets.

Changes:

  • Introduces core.existingSecret to mount a pre-existing Kubernetes Secret into core-init and core.
  • Adds core.extraVolumes and core.extraVolumeMounts to extend the pod spec and mount extra volumes into core-init and core only.
  • Bumps the core chart version to 0.8.0.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
charts/core/values.yaml Documents new existingSecret, extraVolumes, and extraVolumeMounts values.
charts/core/templates/core-sts.yaml Wires new values into StatefulSet volume/volumeMount generation for init/core containers.
charts/core/Chart.yaml Updates chart version for the new feature.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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