Skip to content

Upgrade makefile-modules to pick up the pinned kyverno policies - #846

Merged
wallrj-cyberark merged 1 commit into
masterfrom
upgrade-makefile-modules-kyverno-pin
Oct 6, 2026
Merged

wallrj-cyberark merged 1 commit into
masterfrom
upgrade-makefile-modules-kyverno-pin

Conversation

@wallrj-cyberark

Copy link
Copy Markdown
Contributor

make verify fails on master and on every pull request. This PR fixes it by upgrading the vendored makefile-modules.

The verify-pod-security-standards target builds Kyverno policies from https://github.com/kyverno/policies/pod-security/enforce. That URL tracks kyverno's default branch, and kyverno/policies#1544 deleted the pod-security directory on 2026-09-29. The build now fails with:

Error: evalsymlink failure on '/tmp/kustomize-3834402941/pod-security/enforce' : lstat /tmp/kustomize-3834402941/pod-security: no such file or directory

cert-manager/makefile-modules#762 pins the policies to a commit. This PR runs make upgrade-klone to pick that up. We first saw the failure on #845: verify job.

The same upgrade bumps several vendored tools, including golangci-lint v2.13.2 to v2.14.0. None of them change the release images: Go, ko and the base image stay the same.

How I tested it
  • make generate produces no further changes.
  • make verify passes locally, including golangci-lint (0 issues.).
  • verify-pod-security-standards ran against _bin/scratch/kyverno/pod-security-policy-ef9843f08d25b3555fe69616f8612c9f915af5d4.yaml, so the pinned policies are in use.
Every tool version that changes
Tool From To
golangci-lint v2.13.2 v2.14.0
gh v2.101.0 v2.102.0
helm-unittest v1.1.2 v1.2.0
kustomize v5.8.1 v5.8.2
openapi-gen v0.0.0-20260911184034-7970a1e230da v0.0.0-20261001230523-97fa35140926
preflight 1.21.0 1.21.1
syft v1.52.0 v1.54.0
trivy v0.74.0 v0.75.0
yq v4.53.6 v4.54.1

[with Claude]

- `make verify` fails because kyverno/policies#1544 deleted the
  pod-security directory that verify-pod-security-standards builds from.
- cert-manager/makefile-modules#762 pins the policies to a commit; this
  runs `make upgrade-klone` to pick it up, along with routine tool bumps.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Richard Wall <richard.wall@cyberark.com>
@wallrj-cyberark
wallrj-cyberark merged commit aafe4a1 into master Oct 6, 2026
6 checks passed
@wallrj-cyberark
wallrj-cyberark deleted the upgrade-makefile-modules-kyverno-pin branch October 6, 2026 16:20
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.

2 participants