Skip to content

v0.10.0

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Jul 11:54
· 107 commits to main since this release
v0.10.0

The Fleet v0.10 release brings significant changes, including a redesign that splits components into containers and switches to the controller-runtime framework. The rewritten controllers switch to structured logging. To reduce image size and complexity, v0.10 integrates the gitjob repository, merges various controller codes, and introduces new features such as sharding with node selectors, prometheus metrics, configurable leader election, and worker count for the fleet-controller. The release deprecates the "fleet test" command in favor of “target” and “deploy” with a dry-run option and adds experimental OCI content storage. Bug fixes enhance drift detection, cluster status reporting, and various operational aspects, while automation improvements bolster testing, CI, and the release workflow.

Additions

Bugfixes

  • Ignore status fields during drift detection by @aruiz14 in #2522
  • Fixes error display and improves user experience in git poller by @0xavi0 in #2542
  • Honor Helm's MaxHistory when using drift correction by @aruiz14 in #2519
  • Remove trailing comma from bootstrap template by @Danil-Grigorev in #2452
  • Do not count deleted bundledeployments in cluster status by @manno in #2454
  • Fixes infinite job generation after ForceSyncGeneration changed by @0xavi0 in #2477
  • GitRepo Initial Checkout when DisablePolling is True by @Tommy12789 in #2469
  • Filter namespaces by the kubernetes.io/metadata.name label by @raulcabello in #2009
  • Catch OCI version errors and return them by @manno in #2311
  • Make AlphabeticalPolicy string check case insensitive by @aditditto in #2216
  • Ignore not-found errors when deleting bundle deployments by @weyfonk in #2329
  • Bump helm fork to 3.14.4 by @manno in #2337
  • Add missing serviceName in fleet-agent statefulset by @p-se in #2045
  • Fix gitjob log messages for controller and webhook by @manno in #2367
  • Fix helm deployer ignoring kubeconfig CLI arg by @manno in #2112
  • Return commit for revision instead of HEAD by @0xavi0 in #2410
  • Merges gitrepo and gitops controllers by @0xavi0 in #2537
  • Partially replace cleanup with finalizers by @weyfonk in #2431
  • Moves functionality from gitrepo to gitjob controller by @0xavi0 in #2475

Redesign

Performance

  • Reduce the number of times that Bundle resources are serialized by @aruiz14 in #1952
  • Replace json-based implementation of DeepCopy on GenericMap by @aruiz14 in #1915

What's Changed

CI / Automation

  • Improve release api description and default by @thardeck in #2548
  • Fix flaky e2e tests by @weyfonk in #2539
  • dev: Make setup-single-cluster capable of setting up multiple clusters by @p-se in #2461
  • Remove linter from release pipeline by @thardeck in #2562
  • Fix flaky GitRepo status tests by @weyfonk in #2534
  • Include drift end-to-end tests in CI workflows by @weyfonk in #2531
  • Ignore typos in embedded file by @aruiz14 in #2528
  • Switch from omg.howdoi.website to sslip.io by @p-se in #2466
  • Fix summary and details tags in bug report template by @sbulage in #2476
  • Increase timeout and waiting for testcontainers by @manno in #2502
  • Add status reconcile tests by @manno in #2416
  • Fix flaky agent modified status test by @manno in #2504
  • E2e test to checks status fields by @rubhanazeem in #2503
  • Fixes flaky agent integration test by @0xavi0 in #2509
  • Use the same linter version in GoReleaser as for prs by @thardeck in #2511
  • Fix flaky integration test for git job with polling disabled by @weyfonk in #2514
  • Add tmate debugging info to Nightly E2E workflow by @weyfonk in #1847
  • Reduce replica count in rancher integration tests by @manno in #1840
  • Remove cache action for Go build artifacts by @weyfonk in #1867
  • Prevent debug images from creating GitHub releases by @aruiz14 in #1873
  • Use configmap example for keepResources E2E tests by @weyfonk in #1870
  • Clean up e2e test resources by @weyfonk in #1876
  • Update exact Fleet version when releasing against Rancher by @weyfonk in #1880
  • Use private configmap chart for OCI testing by @weyfonk in #1898
  • Lower debug level in dev scripts by @manno in #1903
  • Fix flaky smoke test for cluster registration by @weyfonk in #1913
  • Add acceptance tests to AKS and GKE CI workflows by @weyfonk in #1914
  • Make sure that all go.mods are tidy for new prs by @thardeck in #1942
  • Provide release.yaml charts version as array by @thardeck in #1971
  • Switch bundle diff test to use random target namespaces by @manno in #1975
  • Switch upgrade test to fleet-test-data repo by @manno in #1936
  • Remove s390x as runners are not available by @raulcabello in #1995
  • Add config for user/passwords in test infra by @manno in #1987
  • Fix flaky gitrepo test by @manno in #1999
  • Add workflow for porting issues by @aruiz14 in #2012
  • Use a different secret for GITHUB_TOKEN by @aruiz14 in #2016
  • Adapt release script to build.yaml by @thardeck in #2015
  • Add initial gitrepo controller integration test by @manno in #2034
  • Update CI up to k8s 1.29 by @manno in #2073
  • Disable cache in golangci-lint action by @manno in #2075
  • Release scripts chart dir var by @manno in #2081
  • Remove remaining s390x by @manno in #2078
  • Remove nightly image build by @manno in #2122
  • Infra e2e command uses a published fleet module by @manno in #2137
  • Add dev docs for changing the infra command by @manno in #2147
  • Add gitjob end-to-end tests with SSH key by @weyfonk in #2109
  • Add CI workflow releasing Fleet charts against a test repo by @weyfonk in #2296
  • Add initial Renovate configuration by @renovate-rancher in #2274
  • CI script to update fleet reset values by @manno in #2261
  • CI: Revert typos back to master by @0xavi0 in #2272
  • Disable FOSSA check for RC releases by @manno in #2316
  • Upgrade Fleet in Rancher only triggered manually by @manno in #2241
  • Remove zube label handling by @manno in #2270
  • Replace Drone pipeline with Github actions by @weyfonk in #2168
  • Optimize renovate config by @thardeck in #2283
  • Remove drone and dapper scripts by @manno in #2207
  • Do not mess up go toolchain during release by @thardeck in #2209
  • Duplicate integrationtests scripts for devs by @manno in #2259
  • Fix "Upgrade Fleet in Rancher To HEAD" CI by @manno in #2260
  • Fix Helm chart version computation in release workflow by @weyfonk in #2227
  • Improve release scripts by @thardeck in #2312
  • Fixes for image reference and CI by @manno in #2253
  • Improve release scripts by @thardeck in #2321
  • Bump Fleet version used within installation documentation to 0.9.3 by @rancherbot in #2338
  • Make pre-release detection automatic by @weyfonk in #2333
  • Update dev/README Dockerfile for act container image by @p-se in #2326
  • Add developer docs for monitoring by @p-se in #2189
  • Publish to docker.io/rancher (@manno)
  • Clean up metrics tests by @manno in #2387
  • Remove go.mod from infra test setup command by @manno in #2378
  • Simplify sharding end-to-end tests by @weyfonk in #2396
  • Remove go work section from dev README by @manno in #2380
  • metrics: Add E2E test for cluster deletion by @p-se in #2371
  • Ignore gosec errors in end-to-end tests infra setup by @weyfonk in #2392
  • Add sharding to Fleet deployments in CI workflows running end-to-end tests by @weyfonk in #2405
  • dev-scripts: Change apiServerURL for setup-fleet-downstream by @p-se in #2052
  • Improve logging and document issue running act in a linked git worktree by @p-se in #2372
  • metrics: make sure metrics work well with sharding by @p-se in #2420
  • Re-enable fossa by @olblak in #2446

Full Changelog: v0.9.5...v0.10.0