openebs / lvm-localpv

Dynamically provision Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is integrated with a backend LVM2 data storage stack.
Apache License 2.0
235 stars 92 forks source link

fix: crds getting removed on helm upgrades #289

Closed Abhinandan-Purkait closed 2 months ago

Abhinandan-Purkait commented 3 months ago

Why do we need this PR?

It was seen that on upgrade to 1.5.x the CRDs get removed causing the removal of CRs. This would prevent it. It also adds annotations to let helm keep the CRDs on uninstall, which is configurable.