Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--load_restrictor=none doesn't seem to work with remote target #3321

Closed
jojijohn opened this issue Dec 7, 2020 · 1 comment
Closed

--load_restrictor=none doesn't seem to work with remote target #3321

jojijohn opened this issue Dec 7, 2020 · 1 comment

Comments

@jojijohn
Copy link

jojijohn commented Dec 7, 2020

I am trying to build from a remote target using --load_restrictor=none CLI option, but seems the load_restrictor is not honored by remote targets

$ target=git::git@gitlab.com:path/to/repo
$ kustomize build $target/kustomize/overlays/qa --load_restrictor=none
Error: accumulating resources: 2 errors occurred:
	* accumulateFile error: "accumulating resources from '../../base': '/private/var/folders/cv/yl0qrsnx4hn159314kndhyxnlgtc2z/T/kustomize-612178105/kustomize/base' must resolve to a file"
	* accumulateDirector error: "recursed accumulation of path '/private/var/folders/cv/yl0qrsnx4hn159314kndhyxnlgtc2z/T/kustomize-612178105/kustomize/base': loading KV pairs: file sources: [../../config.properties]: security; file '/private/var/folders/cv/yl0qrsnx4hn159314kndhyxnlgtc2z/T/kustomize-612178105/config.properties' is not in or below '/private/var/folders/cv/yl0qrsnx4hn159314kndhyxnlgtc2z/T/kustomize-612178105/kustomize/base'"
@Shell32-Natsu
Copy link
Contributor

This is irrelevant to the--load_restrictor, it's an issue of go-getter. Dup with #2538

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants