v0.11.1
- (github-actions[bot]) released this 2024-11-15 15:30:49 +0000 UTC*
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 https://github.com/rancher/fleet/pull/2698
- Configurable git client timeout by @p-se in https://github.com/rancher/fleet/pull/2605
- Git job creation on the same node as the controller shard by @Tommy12789 in https://github.com/rancher/fleet/pull/2620
- Improved post render error when using targetNamespace or namespace by @0xavi0 in https://github.com/rancher/fleet/pull/2660
- Make Helm release garbage collection interval configurable by @weyfonk in https://github.com/rancher/fleet/pull/2665
- Simplify target customisations for namespace labels and annotations by @weyfonk in https://github.com/rancher/fleet/pull/2664
- Return error code 401 for auth errors in webhooks by @0xavi0 in https://github.com/rancher/fleet/pull/2777
- Tolerate uninitialized node taint by @k0da in https://github.com/rancher/fleet/pull/2782
- Propagate drift correction force mode to Helm rollback by @weyfonk in https://github.com/rancher/fleet/pull/2798
- Fleet deploy CLI always outputs list of deployed resources by @manno in https://github.com/rancher/fleet/pull/2847
- BundleDeployment status error message improvement by @p-se in https://github.com/rancher/fleet/pull/2679
- Increase worker count for reconcilers by @manno in https://github.com/rancher/fleet/pull/2897
- Fleet deploy prints hook resources too by @manno in https://github.com/rancher/fleet/pull/2968
Bugfixes​
- KubeVersion fix for fleet deploy --dry-run by @ampie in https://github.com/rancher/fleet/pull/2686
- Fix status conflict between agent and fleetcontroller by @manno in https://github.com/rancher/fleet/pull/2998
- Fixes status not being populated to cluster and clustergroups by @0xavi0 in https://github.com/rancher/fleet/pull/2791
- Prevent
0as value for gitClientTimeout by @p-se in https://github.com/rancher/fleet/pull/2756 - Gitjob container has writable /tmp dir by @manno in https://github.com/rancher/fleet/pull/2827
- Create CABundle Secret for gitjob by @sebastienmusso in https://github.com/rancher/fleet/pull/2825
- Skip CA bundle secret creation with empty payload by @weyfonk in https://github.com/rancher/fleet/pull/2918
- Fix helm.sh/resource-policy being added to everything and not just CRDs by @SuperTux88 in https://github.com/rancher/fleet/pull/2850
- Deletes retries in the gitops job. by @0xavi0 in https://github.com/rancher/fleet/pull/2872
- Propagate drift correction error to bundle deployment status by @weyfonk in https://github.com/rancher/fleet/pull/2792
- GitRepo resources list doesn't list resources multiple times by @manno in https://github.com/rancher/fleet/pull/3027
- Fix namespace target customization support with no defaults (#3052) by @weyfonk in https://github.com/rancher/fleet/pull/3057
- Fix defaults from gitrepo restriction by @manno in https://github.com/rancher/fleet/pull/3080
What's Changed​
- Add dev docs for logging by @weyfonk in https://github.com/rancher/fleet/pull/2812
- Clean up content resources through finalizers by @weyfonk in https://github.com/rancher/fleet/pull/2566
- Document agent garbage collection interval in charts by @weyfonk in https://github.com/rancher/fleet/pull/2813
- Document testing recommendations by @weyfonk in https://github.com/rancher/fleet/pull/2770
- Switch to helm 3.16 by @manno in https://github.com/rancher/fleet/pull/2747
- Update Go version to 1.23.2 by @thardeck in https://github.com/rancher/fleet/pull/2953
- Increase visibility of gitjob controller logs and events by @weyfonk in https://github.com/rancher/fleet/pull/2906
- Vendor apply.DryRun by @manno in https://github.com/rancher/fleet/pull/2854
- Copy SafeConcat from wrangler by @manno in https://github.com/rancher/fleet/pull/2882
- Limit
Deployed bundlelogs by @weyfonk in https://github.com/rancher/fleet/pull/2917 - Changes job handling in gitops controller by @0xavi0 in https://github.com/rancher/fleet/pull/2903
- Remove update workaround from drift detection by @manno in https://github.com/rancher/fleet/pull/2942
- Remove continuous pprof by @manno in https://github.com/rancher/fleet/pull/2976
- Add helm value to disable securityContext by @manno in https://github.com/rancher/fleet/pull/2981
- Add gitrepo status reconciler by @manno in https://github.com/rancher/fleet/pull/3008
- Avoid retries for bundle and content resources by @manno in https://github.com/rancher/fleet/pull/3014
- Use Patch instead of Update for modifying the status field by @aruiz14 in https://github.com/rancher/fleet/pull/3021
- Patch bundle deployment status in drift controller by @weyfonk in https://github.com/rancher/fleet/pull/3032
- Limit debug error messages to debug log by @manno in https://github.com/rancher/fleet/pull/3015
Details
- Remove vendored go-playground/webhooks code by @weyfonk in https://github.com/rancher/fleet/pull/2710
- Refactor gitjops reconciler to remove complexity warning by @manno in https://github.com/rancher/fleet/pull/2726
- Rename Fleet manager references as Fleet controller by @weyfonk in https://github.com/rancher/fleet/pull/2763
- Remove leftover
disable-gitopsmentions by @weyfonk in https://github.com/rancher/fleet/pull/2762 - Remove shard node selector from hidden flags by @weyfonk in https://github.com/rancher/fleet/pull/2764
- Skip checks on logs in sharding end-to-end tests by @weyfonk in https://github.com/rancher/fleet/pull/2832
- Add crust-gather to e2e fail handlers by @manno in https://github.com/rancher/fleet/pull/2842
- Adds e2e test to check that bundledeployments are deleted by @0xavi0 in https://github.com/rancher/fleet/pull/2841
- Cleanup completed gitjobs by @manno in https://github.com/rancher/fleet/pull/2907
- Converts the delete gitjobs to one-time job by @0xavi0 in https://github.com/rancher/fleet/pull/2928
- Remove empty fields from gitrepo/bd resources by @manno in https://github.com/rancher/fleet/pull/2901
- Add more information on logging by @manno in https://github.com/rancher/fleet/pull/2959
- Port gitjob handling changes from 0.10 by @0xavi0 in https://github.com/rancher/fleet/pull/2971
- Remove tmate step from Fleet-in-Rancher test workflow by @weyfonk in https://github.com/rancher/fleet/pull/2978
- Add missing context to agent's updatestatus by @manno in https://github.com/rancher/fleet/pull/2990
- Adds predicate when webhook commit changes by @0xavi0 in https://github.com/rancher/fleet/pull/2986
- Bundledeployment controller does not write metrics on error by @manno in https://github.com/rancher/fleet/pull/3000
- Metrics use label constants from API by @manno in https://github.com/rancher/fleet/pull/2996
- Fix charts repo name in workflow call by @weyfonk in https://github.com/rancher/fleet/pull/3025
- Debug security context in agent by @manno in https://github.com/rancher/fleet/pull/3039
- Remove reconcile error from retry by @manno in https://github.com/rancher/fleet/pull/3045
- Update Wrangler to v3.1 by @thardeck in https://github.com/rancher/fleet/pull/3062
New Contributors​
- @ampie made their first contribution in https://github.com/rancher/fleet/pull/2686
- @sebastienmusso made their first contribution in https://github.com/rancher/fleet/pull/2825
- @k0da made their first contribution in https://github.com/rancher/fleet/pull/2782
- @SuperTux88 made their first contribution in https://github.com/rancher/fleet/pull/2850
Full Changelog: https://github.com/rancher/fleet/compare/v0.10.4...v0.11.1
Download​
Information retrieved from here