Skip to content

Releases: projectsveltos/addon-controller

v0.54.0

11 May 14:11
74f8d5f
Compare
Choose a tag to compare

🚀 Features

  • Templated Resource Identifiers: The namespace and name fields of resources referenced in PolicyRefs, TemplateResourceRefs, and ValuesFrom can now be defined using templates based on any field of the target cluster—enabling highly flexible and reusable configurations.
  • Event-Driven Templating: Resources referenced by EventTrigger now support templated namespace and name values, with full access to both the triggering cluster and the resource that generated the event.
  • Optional Resources Support: Referenced resources can be marked as optional. If not found, Sveltos will continue execution without raising an error.

🐛 Bug Fixes

  • Kubeconfig Refresh in Agentless Mode: In sveltos-agent mode, the agent now correctly reloads the kubeconfig after token renewal to ensure uninterrupted access to managed clusters.
  • Resilient Service Discovery: Improved handling of Kubernetes discovery API errors. Sveltos now gracefully processes partial failures from extension APIs (e.g., metrics), continuing with the available resources.

v0.53.0

01 May 15:01
d2e9fd0
Compare
Choose a tag to compare

🚀 Features

  • The LabelFilter Operation has been extended to include Has (checks for the presence of a key) and DoesNotHave (checks for the absence of a key) in addition to the existing Equal and Different operations.

🐛 Bug Fixes

  • Resolved a problem where drift detection failed to identify changes on agents within managed clusters PR
  • Fixed a core dump that occurred during resource diff evaluation following an update PR
  • Prevented a core dump when utilizing Flux Sources PR

v0.52.3

25 Apr 14:38
37d3547
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Agentless Mode Event Processing: Resolved an issue where event processing in the management cluster stopped after upgrading from a version prior to v0.52 in agentless mode. Fix
  • Addon-Controller Logging: Fixed a harmless but verbose error message related to drift detection in the management cluster logs reported by the addon-controller. Fix

v0.52.2

21 Apr 13:37
38aac4f
Compare
Choose a tag to compare

🐛 Bug Fixes

  • When in agent less mode, no Sveltos CRD is deployed to managed cluster. PR
  • In agentless mode, the addon-controller now directly identifies clusters with drift detection enabled by examining deployments in the management cluster. PR

v0.52.1

19 Apr 16:23
03b4bb7
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Bug Fix: Avoid OwnerReferences on Managed Cluster Resources. Sveltos now uses annotations instead of OwnerReferences for resources deployed on managed clusters. This prevents failures that occurred when deploying resources to clusters where Sveltos is also running, as cluster-wide resources like ClusterProfile cannot be OwnerReferences for namespaced resources.

v0.52.0

17 Apr 16:59
de99ba1
Compare
Choose a tag to compare

🚀 Features

  • In agentless mode, Sveltos leaves no footprint on managed clusters. Instead, all resources necessary for event detection, configuration drift analysis, and reloads are created and managed directly within the management cluster, ensuring the same level of performance.

🐛 Bug Fixes

  • Fixed a UI bug preventing the visualization of details and dependencies for Profile resources PR
  • Resolved an issue in configuration drift detection with Helm charts containing corev1.ListPR
  • Addressed a failure to deploy Helm charts from plain HTTP registries PR

v0.51.1

22 Mar 09:07
52106ff
Compare
Choose a tag to compare

🚀 Features

  • The Sveltos dashboard now provides comprehensive cluster health insights, displaying both readiness and liveness status.
  • Sveltos HelmCharts can now be sourced directly from Flux sources. This allows you to specify Helm chart repository URLs using the format: <flux source kind>://<flux source namespace>/<flux source name>/<path>. For example: gitrepository://flux-system/flux-system/charts/projectsveltos. This enables greater flexibility and integration with your existing GitOps workflows.

🐛 Bug Fixes

  • Resolved an issue where Sveltos did not react to changes in Flux sources: issue 1094
  • Fixed a problem with the drift detection manager becoming stale: issue 418
  • Corrected an issue where Sveltos was updating ClusterRefs instead of Status: PR
  • Prevented a dashboard crash that occurred when a Profile had an empty clusterSelector
  • Corrected an incorrect label on the Addon controller Service, ensuring controller metrics are properly reported in Grafana.

v0.50.0

10 Mar 16:26
dcf655c
Compare
Choose a tag to compare

🚀 Features

  • Enable automatic deployment of prerequisite profile: Profile instances can declare dependencies on other profiles via the DependsOn field, establishing a directed acyclic graph (DAG) of dependencies. Before this release, it was the
    administrator's responsibility to ensure that both the dependent and prerequisite profiles target the same set of managed clusters through matching cluster selectors. With this release, Sveltos automatically resolves and deploys the prerequisite profiles
    specified in the DependsOn field. Sveltos will analyze the dependency graph, identify the required prerequisite profiles, and ensure they are deployed to the same clusters.
  • Enhanced Cluster Management Visibility: To simplify management and debugging, we've implemented labels within the spec.template.labels of the sveltos-agent and drift-detection-manager deployments. These labels now include the managed cluster's name and namespace, enabling immediate identification of the pod associated with a specific cluster.

🐛 Bug Fixes

  • classifier was not reacting to cluster annotation changes
  • fixed RBAC when agents are run in the management cluster

v0.49.0

25 Feb 12:35
86c3386
Compare
Choose a tag to compare

🚀 Features

  • Sveltos can be instructed to selectively onboard CAPI clusters. Deploying Sveltos on a management cluster with hundreds of existing CAPI clusters results in all clusters being onboarded immediately. This can lead to a rapid creation of hundreds of sveltos-agent deployments in the management cluster, potentially causing performance issues. Therefore, a gradual onboarding mechanism is preferable. By using an annotation, Sveltos can selectively identify which CAPI clusters to manage. When this annotation is specified, Sveltos will only onboard those CAPI clusters that have it. More here

🌱 Others

  • Removed v1alpha1 CRD. Deprecated conversion-webhook

v0.48.1

19 Feb 18:23
9f758fd
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fixed a bug that caused excessive re-deployments of ClusterSummaries due to inefficient hash calculations for referenced ConfigMaps, Secrets, and TemplateResourceRefs.