File tree Expand file tree Collapse file tree 4 files changed +29
-6
lines changed Expand file tree Collapse file tree 4 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to this project are documented in this file.
44
5+ ## 0.21.1
6+
7+ ** Release date:** 2022-02-23
8+
9+ This prerelease comes with a workaround for an
10+ [ upstream bug in Kubernetes] ( https://github.com/kubernetes/kubernetes/issues/108008 ) ,
11+ where the keys set in a Secret with ` stringData ` are not removed from the cluster
12+ when the keys are deleted from the manifest.
13+
14+ Improvements:
15+ - Convert ` stringData ` to ` data ` before applying Secrets
16+ [ #576 ] ( https://github.com/fluxcd/kustomize-controller/pull/576 )
17+ - Update dependencies
18+ [ #574 ] ( https://github.com/fluxcd/kustomize-controller/pull/574 )
19+
520## 0.21.0
621
722** Release date:** 2022-02-16
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ resources:
55images :
66 - name : fluxcd/kustomize-controller
77 newName : fluxcd/kustomize-controller
8- newTag : v0.21.0
8+ newTag : v0.21.1
Original file line number Diff line number Diff line change @@ -368,10 +368,18 @@ Note that when the `kustomize.toolkit.fluxcd.io/reconcile` annotation is set to
368368the controller will no longer apply changes from source, nor will it prune the resource.
369369To resume reconciliation, set the annotation to `enabled` or remove it.
370370
371- Note that due to the way [Kubernetes server-side apply](https://kubernetes.io/docs/reference/using-api/server-side-apply/)
372- works, the kustomize-controller can only revert
373- changes made to fields it manages. This means that `kubectl edit` changes will only be reverted if
374- those fields are present in git.
371+ If you use kubectl to edit an object managed by Flux,
372+ all changes will be undone when kustomize-controller reconciles a
373+ Flux Kustomization containing that object.
374+ n order for kustomize-controller to preserve fields added with kubectl,
375+ you have to specify a field manager named `flux-client-side-apply` e.g. :
376+
377+ ` ` ` sh
378+ kubectl apply --field-manager=flux-client-side-apply
379+ ` ` `
380+
381+ Note that the fields defined in manifests will always be overridden,
382+ the above procedure works only for adding new fields that don’t overlap with the desired state.
375383
376384# # Garbage collection
377385
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ require (
99 github.com/ProtonMail/go-crypto v0.0.0-20211112122917-428f8eabeeb3
1010 github.com/cyphar/filepath-securejoin v0.2.2
1111 github.com/drone/envsubst v1.0.3-0.20200804185402-58bc65f69603
12- github.com/fluxcd/kustomize-controller/api v0.21.0
12+ github.com/fluxcd/kustomize-controller/api v0.21.1
1313 github.com/fluxcd/pkg/apis/acl v0.0.3
1414 github.com/fluxcd/pkg/apis/kustomize v0.3.1
1515 github.com/fluxcd/pkg/apis/meta v0.10.2
You can’t perform that action at this time.
0 commit comments