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
- Add dev docs for logging by @weyfonk in #2812
- Clean up content resources through finalizers by @weyfonk in #2566
- Document agent garbage collection interval in charts by @weyfonk in #2813
- Document testing recommendations by @weyfonk in #2770
- Switch to helm 3.16 by @manno in #2747
- Update Go version to 1.23.2 by @thardeck in #2953
- Increase visibility of gitjob controller logs and events by @weyfonk in #2906
- Vendor apply.DryRun by @manno in #2854
- Copy SafeConcat from wrangler by @manno in #2882
- Limit
Deployed bundle
logs by @weyfonk in #2917 - Changes job handling in gitops controller by @0xavi0 in #2903
- Remove update workaround from drift detection by @manno in #2942
- Remove continuous pprof by @manno in #2976
- Add helm value to disable securityContext by @manno in #2981
- Add gitrepo status reconciler by @manno in #3008
- Avoid retries for bundle and content resources by @manno in #3014
- Use Patch instead of Update for modifying the status field by @aruiz14 in #3021
- Patch bundle deployment status in drift controller by @weyfonk in #3032
- Limit debug error messages to debug log by @manno in #3015
Details
- 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
- @ampie made their first contribution in #2686
- @sebastienmusso made their first contribution in #2825
- @k0da made their first contribution in #2782
- @SuperTux88 made their first contribution in #2850
Full Changelog: v0.10.4…v0.11.1
Download
Information retrieved from here