mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 12:43:32 +09:00
hasDocuments counts rendered documents, not list entries, so a second projection naming tls.key as its source rendered inside the same document and left the suite green. The controller refuses a sentinel carrying more than one entry, which makes that a silent loss of the tenant's trust anchor. Assert the list length alongside the entry it pins. Signed-off-by: Aleksei Sviridkin <3811295@gmail.com>
How to test packages local
cd packages/core/installer
make image-cozystack REGISTRY=YOUR_CUSTOM_REGISTRY
make apply
kubectl delete po -l app=source-controller -n cozy-fluxcd