The chart 0.1.1 added templates/tests/test-replication.yaml (helm-test Pod + ServiceAccount + Role + RoleBinding) which `helm template` renders unconditionally. The render-gate test was counting those into EXPECTED=7 producing GOT=11 in CI. Two fixes: - Switch to a python+yaml split that counts non-test resources (annotation helm.sh/hook absent) and helm-test resources separately. Both are asserted against fixed counts so a future regression that drops the test Pod or grows the non-test set would still fail. - Case 5 false-positive: the helm-test Pod's command body contains the literal string "service.cilium.io/global=true" as part of an assertion error message; strip helm-test docs out before the comment- stripped grep. Verified locally: all 5 cases PASS. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| chart | ||
| blueprint.yaml | ||
| DESIGN.md | ||