Open
Description
About
Hey
Testing your solution, looks cool, but there's a little problem or maybe feature, I don't know
Here in this line you find elements as LIKE LINE
in all namespaces
And if I have namespaces like test, test1, test2, test3
with the configuration like:
matchNamespace:
- test
The secret will be deployed to all these namespaces, but if you have examples with -* regex I thought that in such a case just one namespace should be selected
Maybe we should register it as CVE, cause here is obvious security risk
Probable fix
Use lazy regex with ?, count elements in matchNamespace or any other way
Metadata
Metadata
Assignees
Labels
No labels