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

Kustomizer can't handle Kustomize overlays referring to sibling directories #16

Closed
lalloni opened this issue Mar 5, 2021 · 1 comment

Comments

@lalloni
Copy link
Contributor

lalloni commented Mar 5, 2021

When using kustomizer on a kustomization overlay which refers to bases located on sibling directories, it fails because it copies the directory to a temporary location and base relative paths are then broken.

For example, when kustomization.yaml listing "../../../../bases/main" as one of the bases gets copied to the temporary dir and tried to build using kustomize from there, kustomize fails because the base path is now wrong.

I think kustomizer should not copy the kustomization out of where it is supposed to be built.

@lalloni lalloni changed the title Kustomizer can't handle Kustomize overlays Kustomizer can't handle Kustomize overlays referring to sibling directories Mar 5, 2021
@stefanprodan
Copy link
Owner

This has been fixed in v1.0, Kustomizer builds the overlay in-place.

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