Components: disable LoadRestrictions not working with Components #5683
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened?
I executed kustomize
kustomize build --load-restrictor=LoadRestrictionsNone ./test/
in order to render my manifest given below.What did you expect to happen?
Successfully generated kustomize output.
How can we reproduce it (as minimally and precisely as possible)?
Expected output
Successfully generated kustomize output.
Actual output
Error: accumulating components: accumulateDirectory: "recursed accumulation of path '\AppData\Local\Temp\kustomize-761041946\deploy\kustomize\components\mongodb-replicaset': accumulating resources: accumulation err='accumulating resources from './../../manifests/generated/mongodb.yaml': security; file '\AppData\Local\Temp\kustomize-761041946\deploy\kustomize\manifests\generated\mongodb.yaml' is not in or below '\AppData\Local\Temp\kustomize-761041946\deploy\kustomize\components\mongodb-replicaset'': must build at directory: '\AppData\Local\Temp\kustomize-761041946\deploy\kustomize\manifests\generated\mongodb.yaml': file is not directory"
Kustomize version
v5.4.1
Operating system
Windows
The text was updated successfully, but these errors were encountered: