-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Can't define the same VAR in multiple bases #696
Comments
A var in a base is supposed to be available in an overlay; its scope goes all the way "up". So vars with the same name at the same level must be disallowed. The use case described here doesn't attempt to use a var in the overlay, but they are available for use, and they collide (creating an ambiguity), so the error is legit. I suppose we could add code to detect and allow this case, but is it worth it when the fix is simply to change the var name? |
Ok thanks. I can work around this. Just seemed like it was different from the way things usually work in kustomize. |
This gets the following error:
The text was updated successfully, but these errors were encountered: