From 76d496e7ee12c36f133328bf69b71652b9898a11 Mon Sep 17 00:00:00 2001 From: Sertug17 <104278804+Sertug17@users.noreply.github.com> Date: Thu, 20 Aug 2026 14:21:30 +0300 Subject: [PATCH] fix: add missing consensus-config ConfigMap volume to StatefulSet 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 --- charts/abstract-node/templates/statefulset.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/charts/abstract-node/templates/statefulset.yaml b/charts/abstract-node/templates/statefulset.yaml index ea3abf9..51d3b43 100644 --- a/charts/abstract-node/templates/statefulset.yaml +++ b/charts/abstract-node/templates/statefulset.yaml @@ -323,6 +323,11 @@ spec: {{- end }} {{- end }} volumes: + {{- if .Values.consensus.enabled }} + - name: consensus-config + configMap: + name: {{ include "common.names.fullname" . }}-consensus + {{- end }} {{- if (not .Values.persistence.enabled) }} - name: statekeeper emptyDir: {}