BUG: Helm charts deployed by ClusterProfile are uninstalled and reinstalled after Sveltos upgrade to v1.0.1
Problem Description
After upgrading Sveltos installation to version 1.0.1, I observed that the Helm charts deployed by my ClusterProfile resources were removed from the managed clusters. Sveltos uninstalled these charts and then reinstalled them from scratch. After discussing this on Slack (https://projectsveltos.slack.com/archives/C046L9HFJFP/p1755532172975369), it was found that the ClusterProfile receives a calculated hash, and the algorithm for this hash was changed in v1.0.1, leading to this issue.
System Information
CLUSTERAPI VERSION: SVELTOS VERSION: v1.0.1 KUBERNETES VERSION: v1.33
Logs
N/A
Thank you. Just to clarify for everyone else who reads this, Sveltos triggers an upgrade when hash changes (not an uninstall and reinstall). You can see that because the helm revision increases.
Sveltos upgrade in general wont change the hash. It happened in v1.0.1 because we had to change the template instantiation.
The goal of this bug is to add an upgrade test that verifies hash wont change across upgrades.
This has been fixed now by separating drift-detection deployment upgrade from the helm charts/resources deployments.