Skip to content

Commit 84543bf

Browse files
committed
Release v0.21.0
Signed-off-by: Stefan Prodan <[email protected]>
1 parent e25d191 commit 84543bf

File tree

3 files changed

+59
-2
lines changed

3 files changed

+59
-2
lines changed

CHANGELOG.md

+57
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,63 @@
22

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

5+
## 0.21.0
6+
7+
**Release date:** 2022-01-21
8+
9+
This prerelease comes with changes to the base image used to build and
10+
run the controller, replacing Debian Unstable (Sid) with Debian Bookworm.
11+
The controller is now statically built and includes libgit2 along with
12+
its main dependencies.
13+
14+
The controller container images are signed with
15+
[Cosign and GitHub OIDC](https://github.com/sigstore/cosign/blob/22007e56aee419ae361c9f021869a30e9ae7be03/KEYLESS.md),
16+
and a Software Bill of Materials in [SPDX format](https://spdx.dev) has been published on the release page.
17+
18+
Starting with this version, the controller deployment conforms to the
19+
Kubernetes [restricted pod security standard](https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted):
20+
- all Linux capabilities were dropped
21+
- the root filesystem was set to read-only
22+
- the seccomp profile was set to the runtime default
23+
- run as non-root was enabled
24+
- the filesystem group was set to 1337
25+
- the user and group ID was set to 65534
26+
27+
**Breaking changes**:
28+
- The use of new seccomp API requires Kubernetes 1.19.
29+
- The controller container is now executed under 65534:65534 (userid:groupid).
30+
This change may break deployments that hard-coded the user ID of 'controller' in their PodSecurityPolicy.
31+
32+
Improvements:
33+
- Publish SBOM and sign release artifacts
34+
[#550](https://github.com/fluxcd/source-controller/pull/550)
35+
- Statically build source-controller
36+
[#523](https://github.com/fluxcd/source-controller/pull/523)
37+
- security: Drop capabilities, set userid and enable seccomp
38+
[#521](https://github.com/fluxcd/source-controller/pull/521)
39+
- docs: Add git proxy support docs
40+
[#547](https://github.com/fluxcd/source-controller/pull/547)
41+
- libgit2: Configured libgit2 clone ProxyOptions
42+
[#524](https://github.com/fluxcd/source-controller/pull/524)
43+
- storage: include directories in artifact tarball
44+
[#543](https://github.com/fluxcd/source-controller/pull/543)
45+
- Add Permissions to GitHub Workflows
46+
[#551](https://github.com/fluxcd/source-controller/pull/551)
47+
- Update git2go to v31.7.6
48+
[#554](https://github.com/fluxcd/source-controller/pull/554)
49+
50+
Fixes:
51+
- e2e: Set timeout to fix intermittent errors
52+
[#549](https://github.com/fluxcd/source-controller/pull/549)
53+
- git/libgit2: Fix failing tests when the default branch is not "master"
54+
[#545](https://github.com/fluxcd/source-controller/pull/545)
55+
- Remove temp file name from Helm index cache err
56+
[#540](https://github.com/fluxcd/source-controller/pull/540)
57+
- Fix makefile envtest and controller-gen usage
58+
[#539](https://github.com/fluxcd/source-controller/pull/539)
59+
- Update file close operation to not use defer and add test case for CopyFromPath
60+
[#538](https://github.com/fluxcd/source-controller/pull/538)
61+
562
## 0.20.1
663

764
**Release date:** 2022-01-07

config/manager/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ resources:
66
images:
77
- name: fluxcd/source-controller
88
newName: fluxcd/source-controller
9-
newTag: v0.20.1
9+
newTag: v0.21.0

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ require (
1919
github.com/fluxcd/pkg/ssh v0.2.0
2020
github.com/fluxcd/pkg/untar v0.1.0
2121
github.com/fluxcd/pkg/version v0.1.0
22-
github.com/fluxcd/source-controller/api v0.20.1
22+
github.com/fluxcd/source-controller/api v0.21.0
2323
github.com/go-git/go-billy/v5 v5.3.1
2424
github.com/go-git/go-git/v5 v5.4.2
2525
github.com/go-logr/logr v1.2.2

0 commit comments

Comments
 (0)