A Helm chart for Percona Server for MongoDB Operator Custom Resource Definitions (CRDs).
🛡️ CRD Protection
The psmdb-operator-crds Helm chart now preserves CustomResourceDefinitions (CRDs) by default, preventing accidental deletion during helm uninstall or GitOps-driven resource cleanup.
What's new
Added the preserveCrds option to the psmdb-operator-crds chart.
CRDs are now annotated with helm.sh/resource-policy: keep by default.
Prevents accidental removal of CRDs and existing PSMDB custom resources during chart uninstallation.
⚠️ Upgrade notes
CRD preservation is enabled by default. If you rely on Helm uninstall to remove CRDs (for example, in CI or ephemeral environments), disable the feature:
preserveCrds: false
Alternatively, CRDs can be removed manually after uninstalling the chart if required.