kpt fn render
should should preserve sub-package path hiearchy
#4170
Labels
bug
Something isn't working
kpt fn render
should should preserve sub-package path hiearchy
#4170
Expected behavior
Given there's a sub-package in the current/root package, I would expect a
kpt fn render
done in the root package to pass all resources in the sub-package with ainternal.config.kubernetes.io/path
annotation that includes/prefixes a relative path to the sub-package.Actual behavior
internal.config.kubernetes.io/path
does not contain the path to the sub-package itself. It's relative to the sub-package, i.e. as ifkpt fn render
was called from that directory.Information
Using the latest build from main.
Steps to reproduce the behavior
Notice that
internal.config.kubernetes.io/path
forsub-pkg/Kptfile
is incorrect.The text was updated successfully, but these errors were encountered: