UNCLASSIFIED - NO CUI

Fix Kyverno overlay unit-test fixtures after package migration

Three Kyverno overlay merge tests fail on master after the unified package configuration migration because their isolated _selfTest arguments still use legacy top-level and addons package paths. The helpers now read Values.packages, so rendering stops at packages.ztunnel before the merge assertions run.

Move those fixtures to Values.packages, matching the already migrated namespace-map test, and keep global Istio settings under Values.istio. Existing assertions continue to verify that parameter, exclusion, and namespace lists append to defaults.

Failure: https://repo1.dso.mil/big-bang/bigbang/-/jobs/64473276

Validation:

  • Linux CI Helm unit tests: all 526 tests pass.
  • Reproduced all three reported failures before the change.
  • Kyverno overlay suite: all 4 tests pass after the change (helm-unittest v1.2.1).
  • Helm lint passes (Helm v3.19.0).
  • Full local suite: 512/526 pass. Thirteen post-render tests fail because macOS Bash lacks mapfile; one unrelated custom-package schema test also fails with local helm-unittest v1.2.1. The full suite passes in the CI environment as linked above.

Linked Issue

Follow-up to #3466 (closed) and !8352 (merged).

Upgrade Notices

N/A

Edited by Jeffrey Victor

Merge request reports

Loading
Loading