Velero CRDs are auto-removed #13393
Labels
backport-needed
Denotes a PR or issue that has not been fully backported.
customer-request
kind/bug
Categorizes issue or PR as related to a bug.
What happened?
With #12827, we introduced in-built Velero support for managing cluster backups in KKP. When cluster backups are enabled, KKP will install the CRDs and Velero on the user cluster, and we can configure it for periodic backups. Similarly, when disabled, all resources, including CRDs, are removed from the cluster.
A critical issue that our customers are now running into is that if they have Velero pre-installed in the user clusters, KKP now checks if "cluster backups" are enabled or disabled. If disabled, CRDs and thus the CRs for Velero are removed.
Expected behavior
Unless explicitly enabled or disabled, existing Velero resources shouldn't be touched. We also need to reconsider the removal of CRDs if this feature is disabled; maybe we shouldn't remove the CRDs; we will leave that up to whoever works on this issue.
How to reproduce the issue?
kubectl apply -f https://github.com/vmware-tanzu/helm-charts/tree/main/charts/velero/crds
How is your environment configured?
/label priority/high
/label customer-request
The text was updated successfully, but these errors were encountered: