Skip to content

feat(chart): keep MongoDB data on uninstall #425

Closed

Description

@uniqueg

Problem

helm uninstall of a FOCA app chart deletes the PersistentVolumeClaim of the bundled MongoDB, and with the usual reclaim policy Delete, the database with it. Uninstalling a release, e.g., to reinstall it or by mistake, should not lose the app's data.

Expected

  • MongoDB's claim (foca-common 0.2.0, mongodb.persistence) carries helm.sh/resource-policy: keep by default, so that uninstalling the release keeps it, and a reinstallation with the same release name and namespace adopts it again.
  • Operators can turn this off. The broker's claim is not kept by default, because its queue can be rebuilt.
  • The docs describe how to remove the kept data, and the kind CI job checks that a reinstallation finds the data.

Activity

  1. added
    priority: medium
    status: in progress
    type: delivery
    type: feature
    workload: hours
    on Oct 23, 2026
  2. uniqueg commented on Oct 23, 2026

    @uniqueg
    MemberAuthor

    Done in #427.

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: mediumstatus: in progresstype: deliverytype: featureworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions