mykso / myks

🧙‍♂️
MIT License
11 stars 3 forks source link

Invalid vendir config is accepted #282

Open Zebradil opened 5 months ago

Zebradil commented 5 months ago

See https://github.com/mykso/myks/pull/274#issuecomment-2088475188

It is possible to supply myks with an invalid vendir config which will be accepted and processed with incorrect result.

Vendir doesn't allow managing overlapping paths in different directories (as per vendir spec). But because myks doesn't run vendir on the original config but iterates over directories in it, this misconfiguration is not caught by vendir's validation. This should be corrected.