Skip to content

Commit f2d4f07

Browse files
authored
Merge pull request #953 from fluxcd/release-v1.1.0
Release v1.1.0
2 parents a6a19d1 + 383b402 commit f2d4f07

File tree

3 files changed

+60
-2
lines changed

3 files changed

+60
-2
lines changed

CHANGELOG.md

+58
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,64 @@
22

33
All notable changes to this project are documented in this file.
44

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+
563
## 1.0.1
664

765
**Release date:** 2023-07-10

config/manager/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ resources:
55
images:
66
- name: fluxcd/kustomize-controller
77
newName: fluxcd/kustomize-controller
8-
newTag: v1.0.0
8+
newTag: v1.1.0

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require (
2323
github.com/aws/aws-sdk-go-v2/service/sts v1.21.5
2424
github.com/cyphar/filepath-securejoin v0.2.3
2525
github.com/dimchansky/utfbom v1.1.1
26-
github.com/fluxcd/kustomize-controller/api v1.0.0
26+
github.com/fluxcd/kustomize-controller/api v1.1.0
2727
github.com/fluxcd/pkg/apis/acl v0.1.0
2828
github.com/fluxcd/pkg/apis/event v0.5.2
2929
github.com/fluxcd/pkg/apis/kustomize v1.1.1

0 commit comments

Comments
 (0)