|
2 | 2 |
|
3 | 3 | All notable changes to this project are documented in this file.
|
4 | 4 |
|
| 5 | +## 1.1.0 |
| 6 | + |
| 7 | +**Release date:** 2023-08-23 |
| 8 | + |
| 9 | +This minor release comes with performance improvements, bug fixes and several new features. |
| 10 | + |
| 11 | +The apply behaviour has been extended with two policies `IfNotPresent` and `Ignore`. |
| 12 | +To change the apply behaviour for specific Kubernetes resources, you can annotate them with: |
| 13 | + |
| 14 | +| Annotation | Default | Values | Role | |
| 15 | +|-------------------------------------|------------|----------------------------------------------------------------|-----------------| |
| 16 | +| `kustomize.toolkit.fluxcd.io/ssa` | `Override` | - `Override`<br/>- `Merge`<br/>- `IfNotPresent`<br/>- `Ignore` | Apply policy | |
| 17 | +| `kustomize.toolkit.fluxcd.io/force` | `Disabled` | - `Enabled`<br/>- `Disabled` | Recreate policy | |
| 18 | +| `kustomize.toolkit.fluxcd.io/prune` | `Enabled` | - `Enabled`<br/>- `Disabled` | Delete policy | |
| 19 | + |
| 20 | +The `IfNotPresent` policy instructs the controller to only apply the Kubernetes resources if they are not present on the cluster. |
| 21 | +This policy can be used for Kubernetes `Secrets` and `ValidatingWebhookConfigurations` managed by cert-manager, |
| 22 | +where Flux creates the resources with fields that are later on mutated by other controllers. |
| 23 | + |
| 24 | +This version improves the health checking with fail-fast behaviour |
| 25 | +by detecting stalled Kubernetes rollouts. |
| 26 | + |
| 27 | +In addition, the controller now stops exporting an object's |
| 28 | +metrics as soon as the object has been deleted. |
| 29 | + |
| 30 | +Lastly, this release introduces two controller flags: |
| 31 | + |
| 32 | +- The `--concurrent-ssa` flag sets the number of concurrent server-side apply operations |
| 33 | + performed by the controller. Defaults to 4 concurrent operations per reconciliation. |
| 34 | +- The `--interval-jitter-percentage` flag makes the |
| 35 | + controller distribute the load more evenly when multiple objects are set up |
| 36 | + with the same interval. The default of this flag is set to `5`, which means |
| 37 | + that the interval will be jittered by a +/- 5% random value (e.g. if the |
| 38 | + interval is 10 minutes, the actual reconciliation interval will be between 9.5 |
| 39 | + and 10.5 minutes). |
| 40 | + |
| 41 | +Improvements: |
| 42 | +- Add `--concurrent-ssa` flag |
| 43 | + [#948](https://github.com/fluxcd/kustomize-controller/pull/948) |
| 44 | +- Add `IfNotPresent` and `Ignore` SSA policies |
| 45 | + [#943](https://github.com/fluxcd/kustomize-controller/pull/943) |
| 46 | +- controller: jitter requeue interval |
| 47 | + [#940](https://github.com/fluxcd/kustomize-controller/pull/940) |
| 48 | +- Enable fail-fast behavior for health checks |
| 49 | + [#933](https://github.com/fluxcd/kustomize-controller/pull/933) |
| 50 | +- Bump `fluxcd/pkg/ssa` to improve immutable error detection |
| 51 | + [#932](https://github.com/fluxcd/kustomize-controller/pull/932) |
| 52 | +- Update dependencies |
| 53 | + [#939](https://github.com/fluxcd/kustomize-controller/pull/939) |
| 54 | +- Update Source API to v1.1.0 |
| 55 | + [#952](https://github.com/fluxcd/kustomize-controller/pull/952) |
| 56 | + |
| 57 | +Fixes: |
| 58 | +- Handle delete before adding finalizer |
| 59 | + [#930](https://github.com/fluxcd/kustomize-controller/pull/930) |
| 60 | +- Delete stale metrics on object delete |
| 61 | + [#944](https://github.com/fluxcd/kustomize-controller/pull/944) |
| 62 | + |
5 | 63 | ## 1.0.1
|
6 | 64 |
|
7 | 65 | **Release date:** 2023-07-10
|
|
0 commit comments