Notes
Upgrading the Fleet helm chart upgrades the fleet-controller and its config. To avoid race conditions while fleet-controller starts updating the fleet-agents, we propose to scale down the fleet-controller to zero replicas before starting the upgrade.
When using Fleet in Rancher and updating from Rancher 2.5, the default installation namespace for fleet changes from fleet-system
to cattle-fleet-system
. This release adds code to re-deploy the agents if necessary, to regenerate their config in the new namespace. Once the new agent is running and the cluster resources status is ok, it's fine to delete any leftover fleet-system
namespaces. In older versions of fleet, it's possible to copy the agent config manually into the new namespace, or to trigger the agent redeployment manually.
Additions
- Add authentication support for OCI based Helm charts by @thardeck in #996
- Support cluster repo change by @manno in #999
- Apply gitrepo labels to bundles by @manno in #1007
- Add allowedTargetNamespaces to GitRepoRestriction by @manno in #1008
- Enforce presence of targetNamespace if gitreporestriction is present. by @manno in #1022
- Cluster specific registry replaces global registry by @manno in #1053
- Reading contents&secrets uses specific service account by @manno in #1063
- Cluster values full templating by @manno in #1158
- Helm Target Customization Repo/Version Override by @romejoe in #1011
- Sprig Templating for Helm Values with Inputs from Cluster Resource by @rajiteh in #671
- Add helmRepoUrlRegex to the GitRepo by @raulcabello in #1234
Bugfixes
- Fix token expiry bug by @manno in #995
- Stop re-queuing on failed deployments by @mattfarina in #1042
- Sync only changed objects by @moio in #1041
- Returning nil on signal exit by @mattfarina in #1104
- Running helm template to set up status ignores errors by @manno in #1103
- Do not fail on missing labels by @thardeck in #1114
- Limit recursion depth for cluster label replacement in values by @manno in #1143
- Update bundle status display also in case of errors by @moio in #1123
- Disable Gitops Feature Breaks Fleet Controller Deployment by @SharpThunder in #1185
- Do not ignore agentCheckinInterval by @moio in #1058
- Scaling: avoid needlessly looking up agent bundle deployments by @moio in #1062
- Fix image scan issues by @thardeck in #1181
- Fix orphan resources created by operators by @raulcabello in #1201
- Don't run kustomize on repos without kustomization by @p-se in #1157
- Fix regression in imagescan test by @thardeck in #1228
- Long release names, shorten only once by @manno in #1273
What's Changed
- Removing the docs directory by @mattfarina in #1014
- Scripts for local testing with k3d by @manno in #1024
- Debug statements for controllers by @manno in #1036
- Scaling: make ClusterEnqueueDelay configurable via environment variable by @moio in #1071
- Add nightly builds by @manno in #1075
- Cluster registration debug messages and comments by @manno in #1095
- Add support to continuous pprof CPU profiling by @moio in #1076
- Split DEVELOPING.md into separate files in docs/ by @manno in #1134
- Add CLI to generate reference docs by @manno in #1126
- Allow to run longer before killing leader during debugging by @moio in #1137
- Introduce parameter to debug controller but not agents by @moio in #1124
- Fix CRD download url by @olblak in #1190
- Add Github Action workflow to prevent manual changes to Gitjob or generated code by @thardeck in #1239
- Fleet in Rancher Upgrade CI by @manno in #1198
New Contributors
- @romejoe made their first contribution in #1011
- @rajiteh made their first contribution in #671
- @fossabot made their first contribution in #431
- @github-actions made their first contribution in #1182
- @SharpThunder made their first contribution in #1185
- @p-se made their first contribution in #1157
Full Changelog: v0.5.0...v0.6.0-rc.2