Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.21.0 #553

Merged
merged 1 commit into from
Jan 26, 2022
Merged

Release v0.21.0 #553

merged 1 commit into from
Jan 26, 2022

Conversation

stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Jan 20, 2022

This prerelease comes with changes to the base image used to build and
run the controller, replacing Debian Unstable (Sid) with Alpine 3.15.
The controller is now statically built and includes libgit2 along with
its main dependencies.

The controller container images are signed with
Cosign and GitHub OIDC,
and a Software Bill of Materials in SPDX format has been published on the release page.

Starting with this version, the controller deployment conforms to the
Kubernetes restricted pod security standard:

  • all Linux capabilities were dropped
  • the root filesystem was set to read-only
  • the seccomp profile was set to the runtime default
  • run as non-root was enabled
  • the filesystem group was set to 1337
  • the user and group ID was set to 65534

Breaking changes:

  • The use of new seccomp API requires Kubernetes 1.19.
  • The controller container is now executed under 65534:65534 (userid:groupid).
    This change may break deployments that hard-coded the user ID of 'controller' in their PodSecurityPolicy.

@stefanprodan stefanprodan marked this pull request as ready for review January 21, 2022 08:33
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@stefanprodan stefanprodan marked this pull request as draft January 21, 2022 11:30
@stefanprodan
Copy link
Member Author

Talk to @pjbgf and we decided to delay the release as fuzzing requires changes to the static build.

@stefanprodan stefanprodan force-pushed the release-0.21.0 branch 2 times, most recently from 84543bf to 0bd2b3c Compare January 26, 2022 07:28
@stefanprodan
Copy link
Member Author

We decided to postpone the libgit2 1.3.0 upgrade from #557 till the next release.

@stefanprodan stefanprodan marked this pull request as ready for review January 26, 2022 07:29
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@pjbgf
Copy link
Member

pjbgf commented Jan 26, 2022

@stefanprodan can you please update the description with "replacing Debian Unstable (Sid) with Debian Bookworm alpine:3.15"?

@stefanprodan stefanprodan merged commit 4aad174 into main Jan 26, 2022
@stefanprodan stefanprodan deleted the release-0.21.0 branch January 26, 2022 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants