Skip to content

feat: Add support for custom volumes and volume mounts in HA chart#201

Merged
as51340 merged 2 commits intomainfrom
feat/ha-volumes
Feb 20, 2026
Merged

feat: Add support for custom volumes and volume mounts in HA chart#201
as51340 merged 2 commits intomainfrom
feat/ha-volumes

Conversation

@as51340
Copy link
Collaborator

@as51340 as51340 commented Feb 20, 2026

What

This PR adds support for custom volumes and volume mounts in the memgraph-high-availability chart for both data instances and coordinators. New values
storage.data.extraVolumes, storage.data.extraVolumeMounts, storage.coordinators.extraVolumes, and storage.coordinators.extraVolumeMounts are introduced in values.yaml.
The templates/data.yaml and templates/coordinators.yaml StatefulSet templates are updated to conditionally render extra volumes and include a hardcoded bolt-certs SSL
volume mount.

Why

Users need a way to mount arbitrary volumes (e.g. TLS certificates from Kubernetes Secrets) into Memgraph pods. The primary use case is mounting Bolt SSL certificates for
encrypted client connections, but the extraVolumes/extraVolumeMounts pattern is generic enough to support other scenarios (config files, additional storage, etc.).

How

  • values.yaml: Added extraVolumes: [] and extraVolumeMounts: [] under both storage.data and storage.coordinators, with commented examples showing how to mount a TLS
    Secret as a volume.
  • templates/data.yaml: Added a conditional volumes: block that renders storage.data.extraVolumes when non-empty. Added a hardcoded bolt-certs volume mount at
    /etc/memgraph/ssl (readOnly).
  • templates/coordinators.yaml: Same changes as data.yaml but scoped to coordinator StatefulSets, using storage.coordinators.extraVolumes.

@as51340 as51340 self-assigned this Feb 20, 2026
@as51340 as51340 added enhancement New feature or request memgraph-ha Memgraph HA chart issue customer labels Feb 20, 2026
@as51340 as51340 changed the title feat: Add support for custom volumes and volume mounts feat: Add support for custom volumes and volume mounts in HA chart Feb 20, 2026
@as51340 as51340 merged commit b5e6bd8 into main Feb 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

customer enhancement New feature or request memgraph-ha Memgraph HA chart issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants