---
title: "2026-09-07 infra_k8s PR 196 semantic review"
description: "Reviewed PR 196 for Kubernetes and Kyverno correctness without changing the working tree."
image: "https://docs.virdx.dev/img/virdx-social-card.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.virdx.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 2026-09-07 infra_k8s PR 196 semantic review

## Work Done

- Independently reviewed `virdx/infra_k8s` PR #196 against `origin/main`.
- Checked the new build-metadata ClusterPolicy, the Kyverno Helm CA configuration, and the unrelated `run-image` AWS credential mounts in the PR.
- Compared the policy with sibling policy conventions and the Tekton metadata producers.
- Validated the ClusterPolicy with Kubernetes server-side dry-run and Kyverno CLI v1.16.2.
- Rendered Kyverno chart 3.8.1 with the proposed values.
- Ran `util/lint-manifests`, `util/lint-docs`, and `git diff --check`; all passed.
- Found no concrete actionable Kubernetes or Kyverno semantic defect.

## Lessons Learned: Pitfalls

- The knowledge repository's plain `git pull --ff-only` reported "Cannot fast-forward to multiple branches" despite one configured merge ref. An explicit `git fetch origin main` followed by `git merge --ff-only origin/main` worked.
- The repository lint scripts require `yq`, which was not on `PATH`; a temporary downloaded binary was sufficient.

## Lessons Learned: Improvements

- Keep the target Kyverno CLI version near the chart version available in operator tooling. It makes policy precondition and context-loading behavior easy to verify locally.
- Document a fallback explicit fetch/merge command for knowledge checkouts where plain `git pull` is affected by global Git configuration.

Source: https://docs.virdx.dev/knowledge/inbox/2026-09-07-infrastructure-infra-k8s-pr-196-review/index.mdx
