Skip to content

fix: add missing consensus-config ConfigMap volume to StatefulSet - #35

Open
Sertug17 wants to merge 1 commit into
Abstract-Foundation:mainfrom
Sertug17:fix/missing-consensus-config-volume
Open

fix: add missing consensus-config ConfigMap volume to StatefulSet#35
Sertug17 wants to merge 1 commit into
Abstract-Foundation:mainfrom
Sertug17:fix/missing-consensus-config-volume

Conversation

@Sertug17

@Sertug17 Sertug17 commented Aug 20, 2026

Copy link
Copy Markdown

When consensus.enabled is true, the StatefulSet mounts a volume named consensus config but no corresponding volume is defined. This causes pod creation to fail with 'volume consensus-config not found'.

The consensus ConfigMap is already created by configmap consensus.yaml but was never referenced as a volume source in the StatefulSet.

Add the ConfigMap volume above the persistence check so it is available in both persistent and non-persistent modes.

Fixes #33


PR-Codex overview

This PR focuses on adding a new volume configuration for a consensus config in the statefulset.yaml template, contingent on the consensus.enabled value. It also removes the statekeeper volume when persistence is not enabled.

Detailed summary

  • Added a new volume named consensus config that uses a configMap.
  • The consensus-config volume is conditionally included based on .Values.consensus.enabled.
  • Removed the statekeeper volume definition when persistence is not enabled.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

When consensus.enabled is true, the StatefulSet mounts a volume named
consensus-config but no corresponding volume is defined. This causes pod
creation to fail with 'volume consensus-config not found'.

The consensus ConfigMap is already created by configmap-consensus.yaml
but was never referenced as a volume source in the StatefulSet.

Add the ConfigMap volume above the persistence check so it is available
in both persistent and non-persistent modes.

Fixes Abstract-Foundation#33
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.

bug: Missing consensus config volume in StatefulSet causes pod failure when consensus.enabled=true

1 participant