Skip to content

v0.11.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Nov 15:30
· 35 commits to main since this release
35225f2

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

  • Remove vendored go-playground/webhooks code by @weyfonk in #2710
  • Refactor gitjops reconciler to remove complexity warning by @manno in #2726
  • Rename Fleet manager references as Fleet controller by @weyfonk in #2763
  • Remove leftover disable-gitops mentions by @weyfonk in #2762
  • Remove shard node selector from hidden flags by @weyfonk in #2764
  • Skip checks on logs in sharding end-to-end tests by @weyfonk in #2832
  • Add crust-gather to e2e fail handlers by @manno in #2842
  • Adds e2e test to check that bundledeployments are deleted by @0xavi0 in #2841
  • Cleanup completed gitjobs by @manno in #2907
  • Converts the delete gitjobs to one-time job by @0xavi0 in #2928
  • Remove empty fields from gitrepo/bd resources by @manno in #2901
  • Add more information on logging by @manno in #2959
  • Port gitjob handling changes from 0.10 by @0xavi0 in #2971
  • Remove tmate step from Fleet-in-Rancher test workflow by @weyfonk in #2978
  • Add missing context to agent's updatestatus by @manno in #2990
  • Adds predicate when webhook commit changes by @0xavi0 in #2986
  • Bundledeployment controller does not write metrics on error by @manno in #3000
  • Metrics use label constants from API by @manno in #2996
  • Fix charts repo name in workflow call by @weyfonk in #3025
  • Debug security context in agent by @manno in #3039
  • Remove reconcile error from retry by @manno in #3045
  • Update Wrangler to v3.1 by @thardeck in #3062

New Contributors

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