Skip to content

Releases: projectsveltos/sveltos-agent

v0.38.0

09 Sep 08:42
68ce2c1
Compare
Choose a tag to compare

🚀 Features

  • introduce compatibility checks: to ensure seamless operation, Sveltos implements compatibility checks between its services in the management cluster and those deployed in managed clusters. The management cluster's services rely on data generated by Sveltos agents and drift-detection managers in the managed clusters. When Sveltos is upgraded, the management cluster's services are updated first. These services then initiate the upgrade process for Sveltos services in each managed cluster. Before allowing the management cluster's services to consume data from upgraded managed clusters, compatibility checks verify that all Sveltos services are running the same version.
  • add support to pull Helm charts from private registries

🌱 Others

  • Bump clusterAPI to v1.8.2

v0.37.0

30 Aug 13:36
fa1442e
Compare
Choose a tag to compare

🚀 Features:

  • Generators: add ability to create resources in the management cluster in response to events. The naming convention for these generated ConfigMaps and Secrets is defined by the InstantiatedResourceNameFormat setting. This approach guarantees a predictable name for each generated resource.

🐛 Bug Fixes

  • Use clusterAPI utility to fetch Kubeconfig for a CAPI clusters. Previously Sveltos assumed the Secret had only one key/value pair containing the kubeconfig. Fix
  • react to referenced ConfigMap/Secret/Sources annotation changes. Fix

v0.36.0

17 Aug 12:27
8eeca4e
Compare
Choose a tag to compare

🚀 Features:

  • Introduce ability to pause/unpause a cluster: SveltosCluster has a new field called Schedule that allows
    to specify when to unpause a cluster. A Paused SveltosCluster will receive no update from Sveltos.
    This feature so enable having a maintanence window on each managed cluster. Only during this maintanance window, update will be delivered to cluster. For instance, following will have the SveltosCluster set to unpaused only from Friday, 8PM
    to Monday 7AM every week:
sveltosCluster.Spec.Schedule = &libsveltosv1beta1.Schedule{
    From: "0 20 * * 5", // every friday 8PM
    To:   "0 7 * * 1",  // every monday 7AM
}
  • When creating a Profile/ClusterProfile with syncMode set to ContinuosWithDriftDetection, adds ability to specify a set
    of fields, for certain resources, to be ignored when evaluation configuration drift. More here. For instance following will have Sveltos ignore changes in Replicas field for any deployment
clusterProfile.Spec.DriftExclusions = []configv1beta1.DriftExclusion{
   {
       Target: &libsveltosv1beta1.PatchSelector{
                       Kind:    "Deployment",
                       Group:   "apps",
                       Version: "v1",
       },
       Paths: []string{"/spec/replicas"},
   },
}
  • ability to patch sub resources: referenced ConfigMaps/Secrets/Flux Sources with projectsveltos.io/subresources set indicates Sveltos to patch sub resources.

🌱 Others

  • Bump clusterAPI to v1.8.1
  • Bump golang to v1.22.5

v0.35.0

25 Jul 10:48
9147dfa
Compare
Choose a tag to compare

🚀 Features:

  • TemplateResourceRefs in EvenTrigger instances can be expressed as templates and instantiated using cluster namespace, name, kind. PR
  • Referenced resources in EventTriggers (via PolicyRefs or ValuesFrom) can be expressed as template. PR

🐛 Bug Fixes

  • SveltosCluster.Status.Ready is set to true first time sveltos cluster controller successfully connects to it. It is never reset to false otherwise. If an issue occurs connecting, only the Status.FailureMessage is updated. PR
  • Fix an issue in event-manager not honouring DeploymentType when creating a ClusterProfile. PR

v0.34.2

17 Jul 09:18
bc6823b
Compare
Choose a tag to compare

🐛 Bug Fixes

  • template functions (sprig + all others implemented in Sveltos) are moved to libsveltos and so available for both ClusterProfile/Profile and EventTrigger (PR)
  • Content of ConfigMap/Secret referenced in ValuesFrom section of both HelmChart and KustomizeRef is considered by Sveltos a template (and so instantiated) only if the referenced ConfigMap/Secret has the projectsveltos.io/template annotation

v0.34.1

12 Jul 12:44
d2c6e92
Compare
Choose a tag to compare

🚀 Features:

• EventTrigger spec contains Patches

v0.34.0

11 Jul 08:46
2684496
Compare
Choose a tag to compare

🚀 Features:

  • customise drift-detection-manager: Sveltos can be passed a ConfigMap containing pre-deployment patches which will be used to customise drift-detection-manager before deploying it. PR
  • customize sveltos-agent: Sveltos can be passed a ConfigMap containing pre-deployment patches which will be used to customise sveltos-agent before deploying it. PR

🐛 Bug Fixes

  • pre-deployment patches with multiple resources BUG

🌱 Others

  • bump clusterapi to v1.7.4

v0.33.0

03 Jul 12:12
20d9853
Compare
Choose a tag to compare

This release brings exciting new features and essential bug fixes.

🚀 Features:

  1. API Bump: We've upgraded the APIs to version v1beta1.
  2. Template Functions: enhance your templates with powerful new functions:: toToml, fromToml, toYaml, fromYaml, etc. Explore the full list of functions in PR #586
  3. Fine-tune your add-ons and applications with post-rendering patches: make adjustments to generated manifests before they reach managed clusters. This allows for granular control over your deployments. PR #607
  4. Dynamic Referenced Resources: Define referenced resources dynamically within templates. Use cluster namespace, name, and type for flexible deployments. See more in PR #610;
  5. Selective Drift Detection: In ContinuosWithDriftDetection mode, you can now exclude specific resources from configuration drift monitoring. This provides more granular control over drift detection. Details in PR 612
  6. User data can be stored in SveltosCluster: those data can be used among the other things with templating PR 315

🐛 Bug Fixes

  1. Stale Resource Identification: Improved logic ensures accurate identification and handling of outdated resources.PR 582
  2. CRD Removal Handling: Drift detection now correctly reacts to the removal of Custom Resource Definitions (CRDs). PR 206

v0.32.0

11 Jun 09:01
7c4f282
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Set ttlSecondsAfterFinished on Job that register management cluster. If Job is left after registration succeeds, helm upgrade for projectsveltos fails
  • Correctly set version for addon-controller and classifier so on upgrade drift-detection-manager and sveltos-agent are upgraded

v0.31.0

28 May 13:31
23d545a
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Fix bug: this caused resources to not be properly cleaned up when a ClusterProfile/Profile was deleted or stopped matching a cluster
  • Fix but: this caused Sveltos to fail parsing certain YAML stored in secret/configMap or kustomizationRef
  • Fix bug: this caused Sveltos to fail deploying content of a KustomizationRef.
  • Increased memory limits for sveltos-agent and drift-detection-manager