|
2 | 2 |
|
3 | 3 | All notable changes to this project are documented in this file.
|
4 | 4 |
|
| 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 | + |
5 | 68 | ## 0.19.1
|
6 | 69 |
|
7 | 70 | **Release date:** 2022-01-13
|
|
0 commit comments