Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm: keep the data PersistentVolumeClaim after uninstall #7123

Merged
merged 1 commit into from
Nov 10, 2023

Commits on Nov 10, 2023

  1. Helm: keep the data PersistentVolumeClaim after uninstall

    Currently, Helm will delete the PVC when you uninstall your CVAT release,
    which makes it easy to unintentionally lose data. Add a
    `helm.sh/resource-policy` annotation to prevent that from happening.
    
    This makes the data PVC consistent with the other PVCs created as part of
    the Helm chart (ones belonging to PostgreSQL, KeyDB and Clickhouse), which
    are also not deleted upon uninstall, albeit for a different reason: they are
    created by the corresponding StatefulSets, and StatefulSets retain their
    volumes when they are deleted.
    SpecLad committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    8dafd55 View commit details
    Browse the repository at this point in the history