You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a (Cluster)Profile contains both PolicyRefs and HelmCharts, there is a condition that causes DeployedGroupVersionKind to be unset for PolicyRefs.
Consequently when cleanup happens, resources deployed are not removed from the managed cluster.
This happens when ClusterSummary starts being reconciled and just after that worker completes deploying PolicyRef or KustomizationRef and saving Deployed GVK.
Solution is to move DeployedGroupVersionKind to its owns section in Status.
Problem Description
When a (Cluster)Profile contains both PolicyRefs and HelmCharts, there is a condition that causes DeployedGroupVersionKind to be unset for PolicyRefs.
Consequently when cleanup happens, resources deployed are not removed from the managed cluster.
And example of such failure happened here: https://github.com/projectsveltos/addon-controller/actions/runs/9127268602/job/25097201382
The text was updated successfully, but these errors were encountered: