Files
cozystack/hack
Aleksei Sviridkin 38671c3ff0 test(mariadb): catch a bare empty label selector, not just the inline one
The guard against an empty selector matched only "matchLabels: {}". A
bare "matchLabels:" with nothing nested under it is the same empty
selector — it compiles to match-everything and would project every
Secret in the namespace to the tenant — and it slipped through. Check
that a bare selector is followed by an indented label as well.

Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-09-03 01:38:41 +03:00
..
2026-02-17 22:54:12 +01:00