v0.11.1

  • (github-actions[bot]) released this 2024-11-15 15:30:49 +0000 UTC*

Description

Notes

Fleet v0.11.1 improves several log and status messages. It reduces the amount of reconciles done by the controllers for resource changes.

This release adds k8s events for the GitRepo resource. Fleet will generate a k8s event that users can subscribe to, for the following events:

  • Created - a new git cloning job was created

  • GotNewCommit - a git repository has a new commit

  • JobDeleted - a successful git cloning job is removed

  • FailedValidatingSecret - a git cloning job cannot be created, because a required secret is missing

  • FailedToApplyRestrictions - the GitRepo resource violates the GitRepoRestriction resource’s rules

  • FailedToCheckCommit - cannot get latest commit from the git server

  • FailedToGetGitJob - cannot retrieve information from the git cloning job

  • Failed - polling is disabled, triggered via webhook, but cannot get latest commit from the git server

There are a few known issues with this 0.11.1 release:

  • Target customization for namespace labels and annotations cannot modify/remove labels when updating.

  • In version 0.10, GitRepo resources provided a comprehensive list of all deployed resources across all clusters in their status. However, in version 0.11, this list has been modified to report resources only once until the feature is integrated into the Rancher UI. While this change addresses a UI freeze issue, it may result in potential inaccuracies in the list of resources and resource counts under some conditions.

Additions

  • Adds k8s events to the gitops controller by @0xavi0 in #2698

  • Configurable git client timeout by @p-se in #2605

  • Git job creation on the same node as the controller shard by @Tommy12789 in #2620

  • Improved post render error when using targetNamespace or namespace by @0xavi0 in #2660

  • Make Helm release garbage collection interval configurable by @weyfonk in #2665

  • Simplify target customisations for namespace labels and annotations by @weyfonk in #2664

  • Return error code 401 for auth errors in webhooks by @0xavi0 in #2777

  • Tolerate uninitialized node taint by @k0da in #2782

  • Propagate drift correction force mode to Helm rollback by @weyfonk in #2798

  • Fleet deploy CLI always outputs list of deployed resources by @manno in #2847

  • BundleDeployment status error message improvement by @p-se in #2679

  • Increase worker count for reconcilers by @manno in #2897

  • Fleet deploy prints hook resources too by @manno in #2968

Bugfixes

  • KubeVersion fix for fleet deploy --dry-run by @ampie in #2686

  • Fix status conflict between agent and fleetcontroller by @manno in #2998

  • Fixes status not being populated to cluster and clustergroups by @0xavi0 in #2791

  • Prevent 0 as value for gitClientTimeout by @p-se in #2756

  • Gitjob container has writable /tmp dir by @manno in #2827

  • Create CABundle Secret for gitjob by @sebastienmusso in #2825

  • Skip CA bundle secret creation with empty payload by @weyfonk in #2918

  • Fix helm.sh/resource-policy being added to everything and not just CRDs by @SuperTux88 in #2850

  • Deletes retries in the gitops job. by @0xavi0 in #2872

  • Propagate drift correction error to bundle deployment status by @weyfonk in #2792

  • GitRepo resources list doesn’t list resources multiple times by @manno in #3027

  • Fix namespace target customization support with no defaults (#3052) by @weyfonk in #3057

  • Fix defaults from gitrepo restriction by @manno in #3080

What’s Changed

New Contributors

Full Changelog: v0.10.4...v0.11.1