-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add load_restrictor flag. #998
Add load_restrictor flag. #998
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: monopole The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
545e52f
to
b91d83d
Compare
b91d83d
to
3b8c5ee
Compare
Thanks a lot, @monopole. Together with plugins this restores my pre-2.0 usecase. |
This allows us to remove the workaround for patch files because kubernetes-sigs/kustomize#998 added support for loading patch files outside of the root. While at it, this fixes two things: - incorrect comment (Go 1.11 already had good enough module support) - dependencies were to complicated and prevented rebuilding files when changing the kustomize version
This allows us to remove the workaround for patch files because kubernetes-sigs/kustomize#998 added support for loading patch files outside of the root. While at it, this fixes two things: - incorrect comment (Go 1.11 already had good enough module support) - dependencies were to complicated and prevented rebuilding files when changing the kustomize version
This allows us to remove the workaround for patch files because kubernetes-sigs/kustomize#998 added support for loading patch files outside of the root. While at it, this fixes two things: - incorrect comment (Go 1.11 already had good enough module support) - dependencies were to complicated and prevented rebuilding files when changing the kustomize version
This allows us to remove the workaround for patch files because kubernetes-sigs/kustomize#998 added support for loading patch files outside of the root. While at it, this fixes two things: - incorrect comment (Go 1.11 already had good enough module support) - dependencies were to complicated and prevented rebuilding files when changing the kustomize version
Reimpose the restriction removed in #995, but provide a flag to override:
will allow loading of data files outside the kustomization root. The flag's default value is
rootOnly
, which prevents loading from outside the root.If the kustomization target is remote (e.g.
$dir
is actually a github URL), the flag has no effect - loading is always restricted to the kustomization root for remote kustomizations.Fixes #985
Fixes #937
Fixes #868
Fixes #851
Fixes #766
Related #759