Skip to content

Commit 0d6f5af

Browse files
authored
Merge pull request #555 from fluxcd/release-v0.20.0
Release v0.20.0
2 parents ceefe5a + d188195 commit 0d6f5af

File tree

3 files changed

+65
-2
lines changed

3 files changed

+65
-2
lines changed

CHANGELOG.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,69 @@
22

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

5+
## 0.20.0
6+
7+
**Release date:** 2022-02-01
8+
9+
This prerelease comes with security improvements for multi-tenant clusters:
10+
- Platform admins can enforce impersonation across the cluster using the `--default-service-account` flag.
11+
When the flag is set, all `Kustomizations`, which don't have `spec.serviceAccountName` specified,
12+
use the service account name provided by `--default-service-account=<SA Name>` in the namespace of the object.
13+
- Platform admins can disable cross-namespace references with the `--no-cross-namespace-refs=true` flag.
14+
When this flag is set, `Kustomizations` can only refer to sources (`GitRepositories` and `Buckets`)
15+
in the same namespace as the `Kustomization` object, preventing tenants from accessing another tenant's repositories.
16+
17+
The controller container images are signed with
18+
[Cosign and GitHub OIDC](https://github.com/sigstore/cosign/blob/22007e56aee419ae361c9f021869a30e9ae7be03/KEYLESS.md),
19+
and a Software Bill of Materials in [SPDX format](https://spdx.dev) has been published on the release page.
20+
21+
Starting with this version, the controller deployment conforms to the
22+
Kubernetes [restricted pod security standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted):
23+
- all Linux capabilities were dropped
24+
- the root filesystem was set to read-only
25+
- the seccomp profile was set to the runtime default
26+
- run as non-root was enabled
27+
- the user and group ID was set to 65534
28+
29+
**Breaking changes**:
30+
- The use of new seccomp API requires Kubernetes 1.19.
31+
- The controller container is now executed under 65534:65534 (userid:groupid).
32+
This change may break deployments that hard-coded the user ID of 'controller' in their PodSecurityPolicy.
33+
- When both `spec.kubeConfig` and `spec.ServiceAccountName` are specified, the controller will impersonate
34+
the service account on the target cluster, previously the controller ignored the service account.
35+
36+
Features:
37+
- Allow setting a default service account for impersonation
38+
[#550](https://github.com/fluxcd/kustomize-controller/pull/550)
39+
- Allow disabling cross-namespace references
40+
[#549](https://github.com/fluxcd/kustomize-controller/pull/549)
41+
- SOPS: Add support for HashiCorp Vault token-based authentication
42+
[#538](https://github.com/fluxcd/kustomize-controller/pull/538)
43+
44+
Improvements:
45+
- Publish SBOM and sign release artifacts
46+
[#541](https://github.com/fluxcd/kustomize-controller/pull/541)
47+
- Drop capabilities, enable seccomp and enforce runAsNonRoot
48+
[#539](https://github.com/fluxcd/kustomize-controller/pull/539)
49+
- docs: Add var substitution operator escape syntax
50+
[#537](https://github.com/fluxcd/kustomize-controller/pull/537)
51+
- Update development documentation
52+
[#540](https://github.com/fluxcd/kustomize-controller/pull/540)
53+
- Refactor Fuzz implementation
54+
[#536](https://github.com/fluxcd/kustomize-controller/pull/536)
55+
56+
Fixes:
57+
* Revoke kubectl managed fields ownership
58+
[#527](https://github.com/fluxcd/kustomize-controller/pull/527)
59+
* Ensure object are finalized under impersonation
60+
[#552](https://github.com/fluxcd/kustomize-controller/pull/552)
61+
* Use patch instead of update when adding finalizers
62+
[#535](https://github.com/fluxcd/kustomize-controller/pull/535)
63+
* Fix preflight validation
64+
[#544](https://github.com/fluxcd/kustomize-controller/pull/544)
65+
* Fix the missing protocol for the first port in manager config
66+
[#547](https://github.com/fluxcd/kustomize-controller/pull/547)
67+
568
## 0.19.1
669

770
**Release date:** 2022-01-13

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
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: v0.19.1
8+
newTag: v0.20.0

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.19.1
12+
github.com/fluxcd/kustomize-controller/api v0.20.0
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

0 commit comments

Comments
 (0)