Additions
- Deprecate "fleet test" command, previously used to debug chart by @manno in #2113
- Support for Azure DevOps Webhook for gitRepos using SSH URL by @0xavi0 in #2440
- Keep CRDs when deleting a Bundle by @raulcabello in #2028
- Add correctDrift to targetCustomization by @raulcabello in #2014
- Add target/deploy/dry-run CLI commands by @manno in #2102
- Adds option to disable polling for Git repos by @0xavi0 in #2226
- Only create Content resource if Bundle matches any target by @manno in #2239
- Removes cluster node status reporting from agent by @0xavi0 in #2190
- Merge controller and gitjob images by @weyfonk in #2236
- Add static sharding support by @weyfonk in #2323
- Add Prometheus Metrics by @p-se in #2172
- Merge binaries by @manno in #2361
- Configurable leader election via chart values by @aruiz14 in #1981
- Replace ImageScan and Bundle Labels With fleet.yaml Labels by @Tommy12789 in #2360
- Reduce logging for bundles from cleanup controller by @manno in #2393
- Delete namespace when a gitRepo is deleted by @rubhanazeem in #2373
- Add readOnlyRootFilesystem to deployment_gitjob.yaml by @thardeck in #2379
- Creation of a New Webhook endpoint for Github test Webhook by @Tommy12789 in #2395
- Add a Parameter to Configure Worker count for fleet-controller by @Tommy12789 in #2430
Bugfixes
- 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
Redesign
- Convert fleet-agent to controller-runtime by @manno in #1772
- Convert fleetcontroller to controller-runtime by @manno in #2018
- Move
rancher/gitjob
logic to this repository by @weyfonk in #2098 - Split fleet-agent by @manno in #1905
- Switch container images to busybox and suse/git by @manno in #1940
- Remove
GitJob
resource by @weyfonk in #2129 - Clustergroup controller migration by @manno in #2400
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
- Add SecurityContext to job container by @raulcabello in #1860
- Revert "Add SecurityContext to job container" by @raulcabello in #1872
- Add SecurityContext to job container by @raulcabello in #1875
- Add security context to token cleanup job by @puffitos in #1862
- Drop wrangler-cli dependency by @aruiz14 in #1896
- Small refactor of debug flags handling by @aruiz14 in #1899
- Move cleanup to a different container by @raulcabello in #1885
- Fix typo in README.md by @guitarmanvt in #1907
- Replace wrangler for kubebuilder for generating CRDs by @raulcabello in #1904
- Remove leftovers from controller-gen migration by @aruiz14 in #1920
- Fix debug flag in agent commands by @manno in #1924
- Move agent management to a separate container by @raulcabello in #1910
- Improve pull request template by @thardeck in #1941
- Add docs link by @weyfonk in #1951
- Change variables to constants in bundle type by @manno in #1986
- Agent Bundle/Release Cleanup Ignores Non-Fleet Releases by @manno in #1976
- Move agentmanagement modules into its folder by @manno in #2032
- Improve container security by @weyfonk in #2042
- Remove bd requeue, rely on drift correction by @manno in #1985
- Remove k8s replace from go.mod by @manno in #2086
- Use apimachinery yaml package directly by @manno in #2099
- Extract apply to applied by @manno in #2097
- Refactor targeting/bundle controller by @manno in #2111
- Use git-core pkg instead of git by @weyfonk in #2105
- Update helm fork, rename ForceAdopt/Adopt to TakeOwnership by @manno in #2146
- Move
gitjob
binary tointernal/cmd
by @weyfonk in #2148 - Cleanup unused durations constants by @jhoblitt in #2286
- Propagate bundle and bundledeployment status updates to GitRepo by @weyfonk in #2223
- Remove Windows agent image and docs by @weyfonk in #2237
- Remove manifest templates by @weyfonk in #2233
- Switch fetchNamespace to Get instead of list by @manno in #2205
- Switch fleet repo branch to main by @manno in #2240
- Use portable API for bind mounts in integration tests by @weyfonk in #2229
- Controller image only install ssh clients by @manno in #2335
- Remove unused update status code from bundle reconciler by @manno in #2349
- Simplify shards configuration detection by @weyfonk in #2354
- Switch to tini by @manno in #2336
- Hide global CLI flags on sub commands by @manno in #2376
- CLI deploy prints to stdout by @manno in #2453
- metrics: optimize collection calls in reconciliation loops by @p-se in #2406
- Refactoring CreateJob and UpdateStatus methos in Gitjob Reconciler by @Tommy12789 in #2434
- Gitjob controller updates GitRepo with generation it is reconciling by @manno in #2451
CI / Automation
- 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
Bumps
- Bump Fleet version used within installation documentation to 0.9.4 by @rancherbot in #2402
- Bump actions/cache from 3 to 4 by @dependabot in #2118
- Bump actions/setup-go from 4 to 5 by @dependabot in #2037
- Bump actions/upload-artifact from 3 to 4 by @dependabot in #2039
- Bump azure/login from 1 to 2 by @dependabot in #2243
- Bump bci/bci-base from 15.5.36.5.47 to 15.5.36.5.52 in /package by @dependabot in #1927
- Bump controller-runtime to 0.17.2 by @manno in #2197
- Bump copyright statement to 2024 by @thardeck in #2040
- Bump docker/metadata-action from 4 to 5 by @dependabot in #1922
- Bump docker/setup-buildx-action from 2 to 3 by @dependabot in #1823
- Bump docker/setup-qemu-action from 2 to 3 by @dependabot in #1921
- Bump fleet-agent chart's kubectl to 1.29 by @manno in #2074
- Bump fossas/fossa-action from 1.3.1 to 1.3.3 by @dependabot in #2242
- Bump github.com/cyphar/filepath-securejoin from 0.2.3 to 0.2.4 by @dependabot in #1848
- Bump github.com/docker/docker from 25.0.5+incompatible to 26.0.0+incompatible in /e2e/testenv/infra in the go_modules group across 1 directory by @dependabot in #2292
- Bump github.com/go-git/go-git/v5 from 5.9.0 to 5.10.0 by @dependabot in #1911
- Bump github.com/google/go-containerregistry from 0.15.2 to 0.17.0 by @dependabot in #1991
- Bump github.com/hashicorp/go-getter from 1.7.2 to 1.7.3 by @dependabot in #1945
- Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.13.0 by @dependabot in #1864
- Bump github.com/onsi/gomega from 1.30.0 to 1.32.0 by @dependabot in #2244
- Bump github.com/opencontainers/runc from 1.1.10 to 1.1.12 by @dependabot in #2116
- Bump github.com/rancher/fleet from 0.9.0-rc.4.0.20240208111910-ad2d2d829a12 to 0.10.0-rc.5 in /e2e/testenv/infra by @dependabot in #2264
- Bump github.com/rancher/wrangler/v2 from 2.1.1 to 2.1.2 in /pkg/apis by @dependabot in #1912
- Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 by @dependabot in #1929
- Bump golang.org/x/crypto from 0.18.0 to 0.19.0 in /e2e/testenv/infra by @dependabot in #2142
- Bump golang.org/x/net from 0.8.0 to 0.17.0 in /pkg/apis by @dependabot in #1856
- Bump golang.org/x/sync from 0.5.0 to 0.6.0 by @dependabot in #2046
- Bump golangci-lint to latest version by @weyfonk in #1895
- Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by @dependabot in #2194
- Bump google-github-actions/auth from 1 to 2 by @dependabot in #1983
- Bump google-github-actions/setup-gcloud from 1 to 2 by @dependabot in #2038
- Bump google.golang.org/grpc from 1.55.0 to 1.56.3 by @dependabot in #1901
- Bump helm.sh/helm/v3 from 3.14.1 to 3.14.3 in /e2e/testenv/infra by @dependabot in #2232
- Bump k8s to 0.29, helm to 3.14, c-r to 0.17 by @manno in #2100
- Bump k8s.io/api from 0.28.3 to 0.28.4 in /pkg/apis by @dependabot in #1943
- Bump k8s.io/apimachinery from 0.28.3 to 0.28.4 in /pkg/apis by @dependabot in #1944
- Bump k8s.io/klog/v2 from 2.100.1 to 2.110.1 by @dependabot in #1932
- Bump k8s.io/kubernetes from 1.28.3 to 1.28.4 by @dependabot in #1947
- Bump peter-evans/create-pull-request from 5 to 6 by @dependabot in #2117
- Bump quartz library to v0.11.1 by @0xavi0 in #2222
- Bump sigs.k8s.io/controller-runtime from 0.16.1 to 0.16.3 in /pkg/apis by @dependabot in #1926
- Bump the go_modules group across 2 directories with 2 updates by @dependabot in #2289
- CI bumps golangci-lint and uses typos 1.19.0 by @0xavi0 in #2268
- Dependabot/go modules/GitHub.com/docker/docker 24.0.7incompatible by @weyfonk in #1938
- Merge pull request #2317 from rancher/renovate/github.com-rancher-fleet-0.x (@thardeck)
- Merge pull request #2318 from rancher/renovate/helm.sh-helm-v3-3.x (@thardeck)
- Merge pull request #2319 from rancher/renovate/actions-setup-go-5.x (@thardeck)
- Merge pull request #2324 from rancher/renovate/gomod-k8sio-dependencies (@thardeck)
- Merge pull request #2325 from rancher/renovate/github.com-docker-docker-26.x (@thardeck)
- Update actions/setup-go action to v5 (@renovate-rancher[bot])
- Update dependency go to v1.22.2 by @renovate-rancher in #2366
- Update fossas/fossa-action action to v1.3.3 by @renovate-rancher in #2275
- Update github.com/rancher/lasso digest to d87ec40 by @renovate-rancher in #2368
- Update gitjob base image by @weyfonk in #2106
- Update golangci/golangci-lint-action action to v6.0.1 by @renovate-rancher in #2417
- Update integration tests dependencies by @weyfonk in #2208
- Update k8s.io/kube-openapi digest to f0e62f9 by @renovate-rancher in #2389
- Update module github.com/docker/docker to v26.1.3+incompatible by @renovate-rancher in #2437
- Update module github.com/evanphx/json-patch to v5.9.0+incompatible by @renovate-rancher in #2288
- Update module github.com/go-git/go-git/v5 to v5.12.0 by @renovate-rancher in #2291
- Update module github.com/go-logr/logr to v1.4.2 by @renovate-rancher in #2444
- Update module github.com/google/go-containerregistry to v0.19.1 by @renovate-rancher in #2297
- Update module github.com/hashicorp/go-getter to v1.7.4 by @renovate-rancher in #2331
- Update module github.com/onsi/ginkgo/v2 to v2.18.0 by @renovate-rancher in #2445
- Update module github.com/onsi/gomega to v1.33.1 by @renovate-rancher in #2390
- Update module github.com/prometheus/client_golang to v1.19.1 by @renovate-rancher in #2423
- Update module github.com/prometheus/client_model to v0.6.1 by @renovate-rancher in #2364
- Update module github.com/prometheus/common to v0.53.0 by @renovate-rancher in #2365
- Update module github.com/rancher/fleet to v0.10.0-rc.13 by @renovate-rancher in #2374
- Update module github.com/rancher/fleet/pkg/apis to v0.10.0-rc.13 by @renovate-rancher in #2381
- Update module github.com/rancher/wrangler/v2 to v2.1.4 by @renovate-rancher in #2282
- Update module github.com/testcontainers/testcontainers-go to v0.31.0 by @renovate-rancher in #2424
- Update module golang.org/x/crypto to v0.23.0 by @renovate-rancher in #2412
- Update module golang.org/x/sync to v0.7.0 by @renovate-rancher in #2302
- Update module helm.sh/helm/v3 to v3.15.0 by @renovate-rancher in #2433
- Update module k8s.io/kubernetes to v1.29.4 [security] by @renovate-rancher in #2362
- Update nginx Docker tag to v1.25.4 by @renovate-rancher in #2276
- Update to wrangler/v2 by @aruiz14 in #1785
New Contributors
- @Tommy12789 made their first contribution in #2360
- @rubhanazeem made their first contribution in #2373
Full Changelog: v0.9.1-rc.3...v0.10.0-rc.14