kubewarden / kubewarden-controller

Manage admission policies in your Kubernetes cluster with ease
https://kubewarden.io
Apache License 2.0
189 stars 33 forks source link

Fix release of policies #855

Closed viccuad closed 3 weeks ago

viccuad commented 3 weeks ago

After merging today's bot PRs, some of which included serde bumps, some policies are failing on the release job when running e2e tests.

Acceptance criteria

  1. Investigate why the e2e tests fail for these policies
  2. Make sure the release job is green for main
  3. Potentially configure the policies' CI to run e2e tests on PRs, so we are made aware earlier in the process.
viccuad commented 3 weeks ago

Failing policies:

viccuad commented 3 weeks ago

Turns out that psa-label-enforcer-policy, persistentvolumeclaim-storageclass-policy where failing because of changes related to https://github.com/kubewarden/kubewarden-controller/issues/838 but were not discovered until release as we don't run e2e tests for Rust policies in CI.

Opened PRs to them and https://github.com/kubewarden/github-actions/pull/134 to fix that.

This leaves verify-image-signatures-policy, investigating it.

viccuad commented 3 weeks ago

Closing. verify-image-signatures fails with kwctl 1.15 onwards, when kwctl tries to fetch the fulcio certs from the TUF repo. This needs to be properly tracked in kwctl, and checked against sigstore-rs.