vendir succeeds when includePath list item does not exist? #114
Labels
awaiting-input
discussion
This issue is not a bug or feature and a conversation is needed to find an appropriate resolution
imho this is a bug, but I'm asking first in case this is a "functions as designed". If it is functioning as designed, then might I humbly request that design be revisited.
I have a config which is similar to what is shown below (git repos are different)
I can guarantee that there are files in the first list item (the k8s path). The other two paths I made up.
When I run
vendir sync
, the output that I get isI can verify this is successful with the output of
$?
as wellIs this expected behavior?
If so, I think this can very likely lead to some (bad) unintended consequences. The worst being that the end-user trusts that vendir will arrange some files correctly, when it actually doesn't.
For example, consider kubernetes manifests via
ytt
being vendir'd. Due to "reasons" (network hiccup, fat fingered path, path not existing at a particular version, etc) the paths include invalid paths. vendir produces a set of files and ignores the paths it couldn't find. k8s app gets deployed without a subset of content. The world spirals into chaos.Thoughts?
The text was updated successfully, but these errors were encountered: