Skip to content

feat(chart): persistence settings for MongoDB #419

Closed

Description

@uniqueg

Problem

Since #411, the bundled RabbitMQ of the library chart foca-common has a broker.persistence block (enabled, size, accessModes, storageClass, existingClaim). The bundled MongoDB still only has mongodb.volumeSize: its claim always uses ReadWriteOnce and the cluster's default storage class, and it cannot use an existing claim (e.g., one restored from a backup). The two components are configured differently for the same thing.

Expected

  • mongodb.persistence with the same keys and semantics as broker.persistence, on by default (MongoDB keeps its PersistentVolumeClaim, with the same name, unless disabled).
  • mongodb.volumeSize keeps working as a deprecated alias of mongodb.persistence.size, so values written for foca-common 0.1.0 render as before.
  • One template helper renders the claims of both, schemas and docs updated.

Activity

  1. uniqueg commented on Oct 23, 2026

    @uniqueg
    MemberAuthor

    Done in #422.

  2. added
    priority: medium
    type: delivery
    type: feature
    workload: hours
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: deliverytype: featureworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions