Skip to content

Commit 770f4e8

Browse files
authored
Merge pull request #410 from fluxcd/release-v0.16.0
Release v0.16.0
2 parents 05a1e00 + 4013de6 commit 770f4e8

File tree

5 files changed

+69
-7
lines changed

5 files changed

+69
-7
lines changed

CHANGELOG.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,67 @@
11
# Changelog
22

3+
## 0.16.0
4+
5+
**Release date:** 2022-02-01
6+
7+
This prerelease comes with security improvements for multi-tenant clusters:
8+
- Platform admins can enforce impersonation across the cluster using the `--default-service-account` flag.
9+
When the flag is set, all `HelmReleases`, which don't have `spec.serviceAccountName` specified,
10+
use the service account name provided by `--default-service-account=<SA Name>` in the namespace of the object.
11+
- Platform admins can disable cross-namespace references with the `--no-cross-namespace-refs=true` flag.
12+
When this flag is set, `HelmReleases` can only refer to sources (`HelmRepositories`, `GitRepositories` and `Buckets`)
13+
in the same namespace as the `HelmRelease` object, preventing tenants from accessing another tenant's repositories.
14+
15+
In addition, the controller comes with a temporary fork of Helm v3.8.0 with a patch applied from
16+
[helm/pull/10486](https://github.com/helm/helm/pull/10486) to solve a memory leak.
17+
18+
The controller container images are signed with
19+
[Cosign and GitHub OIDC](https://github.com/sigstore/cosign/blob/22007e56aee419ae361c9f021869a30e9ae7be03/KEYLESS.md),
20+
and a Software Bill of Materials in [SPDX format](https://spdx.dev) has been published on the release page.
21+
22+
Starting with this version, the controller deployment conforms to the
23+
Kubernetes [restricted pod security standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted):
24+
- all Linux capabilities were dropped
25+
- the root filesystem was set to read-only
26+
- the seccomp profile was set to the runtime default
27+
- run as non-root was enabled
28+
- the user and group ID was set to 65534
29+
30+
**Breaking changes**:
31+
- The use of new seccomp API requires Kubernetes 1.19.
32+
- The controller container is now executed under 65534:65534 (userid:groupid).
33+
This change may break deployments that hard-coded the user ID of 'controller' in their PodSecurityPolicy.
34+
- When both `spec.kubeConfig` and `spec.ServiceAccountName` are specified, the controller will impersonate
35+
the service account on the target cluster, previously the controller ignored the service account.
36+
37+
Features:
38+
- Allow setting a default service account for impersonation
39+
[#406](https://github.com/fluxcd/helm-controller/pull/406)
40+
- Allow disabling cross-namespace references
41+
[#408](https://github.com/fluxcd/helm-controller/pull/408)
42+
43+
Improvements:
44+
- Update Helm to patched 3.8.0
45+
[#409](https://github.com/fluxcd/helm-controller/pull/409)
46+
- Publish SBOM and sign release artifacts
47+
[#401](https://github.com/fluxcd/helm-controller/pull/401)
48+
- Drop capabilities, set userid and enable seccomp
49+
[#385](https://github.com/fluxcd/helm-controller/pull/385)
50+
- Update development documentation
51+
[#397](https://github.com/fluxcd/helm-controller/pull/397)
52+
- Refactor Fuzz implementation
53+
[#396](https://github.com/fluxcd/helm-controller/pull/396)
54+
55+
Fixes:
56+
- Use patch instead of update when adding finalizers
57+
[#395](https://github.com/fluxcd/helm-controller/pull/395)
58+
- Fix the missing protocol for the first port in manager config
59+
[#405](https://github.com/fluxcd/helm-controller/pull/405)
60+
- Use go-install-tool for gen-crd-api-reference-docs
61+
[#392](https://github.com/fluxcd/helm-controller/pull/392)
62+
- Use go install instead of go get in Makefile
63+
[#391](https://github.com/fluxcd/helm-controller/pull/391)
64+
365
## 0.15.0
466

567
**Release date:** 2022-01-10

config/default/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
namespace: helm-system
44
resources:
5-
- https://github.com/fluxcd/source-controller/releases/download/v0.20.1/source-controller.crds.yaml
6-
- https://github.com/fluxcd/source-controller/releases/download/v0.20.1/source-controller.deployment.yaml
5+
- https://github.com/fluxcd/source-controller/releases/download/v0.21.1/source-controller.crds.yaml
6+
- https://github.com/fluxcd/source-controller/releases/download/v0.21.1/source-controller.deployment.yaml
77
- ../crd
88
- ../rbac
99
- ../manager

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/helm-controller
77
newName: fluxcd/helm-controller
8-
newTag: v0.15.0
8+
newTag: v0.16.0

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ go 1.17
55
replace github.com/fluxcd/helm-controller/api => ./api
66

77
require (
8-
github.com/fluxcd/helm-controller/api v0.15.0
8+
github.com/fluxcd/helm-controller/api v0.16.0
99
github.com/fluxcd/pkg/apis/acl v0.0.3
1010
github.com/fluxcd/pkg/apis/kustomize v0.3.1
1111
github.com/fluxcd/pkg/apis/meta v0.10.2
1212
github.com/fluxcd/pkg/runtime v0.12.4
13-
github.com/fluxcd/source-controller/api v0.20.1
13+
github.com/fluxcd/source-controller/api v0.21.1
1414
github.com/go-logr/logr v1.2.2
1515
github.com/hashicorp/go-retryablehttp v0.6.8
1616
github.com/onsi/ginkgo v1.16.5

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ github.com/fluxcd/pkg/apis/meta v0.10.2/go.mod h1:KQ2er9xa6koy7uoPMZjIjNudB5p4tX
321321
github.com/fluxcd/pkg/runtime v0.12.3/go.mod h1:imJ2xYy/d4PbSinX2IefmZk+iS2c1P5fY0js8mCE4SM=
322322
github.com/fluxcd/pkg/runtime v0.12.4 h1:gA27RG/+adN2/7Qe03PB46Iwmye/MusPCpuS4zQ2fW0=
323323
github.com/fluxcd/pkg/runtime v0.12.4/go.mod h1:gspNvhAqodZgSmK1ZhMtvARBf/NGAlxmaZaIOHkJYsc=
324-
github.com/fluxcd/source-controller/api v0.20.1 h1:BfYw1gNHykiCVFNtDz3atcf3Vph+arfuveKmouI98wE=
325-
github.com/fluxcd/source-controller/api v0.20.1/go.mod h1:Ab2qDmAUz6ZCp8UaHYLYzxyFrC1FQqEqjxiROb/Rdiw=
324+
github.com/fluxcd/source-controller/api v0.21.1 h1:7X39YQHmB1vmIBrHxU+YAqxwtdC9Zh+tdtMKREW3xiQ=
325+
github.com/fluxcd/source-controller/api v0.21.1/go.mod h1:Ab2qDmAUz6ZCp8UaHYLYzxyFrC1FQqEqjxiROb/Rdiw=
326326
github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
327327
github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
328328
github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k=

0 commit comments

Comments
 (0)