-
Notifications
You must be signed in to change notification settings - Fork 23
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
Lovely throws an error when kustomize includes a base or directory up in tree #66
Comments
After giving it a quick look at source code, looks like a copy is made of the working dir, and no regard seems to be given to the fact that kustomization might include other dirs. Are there any plans to support this? Including base or indeed other paths in kustomize is one of its core features, and widely used. I'd be happy to contribute with a PR, but honestly have no idea what design considerations are and where to start in regards to tmp copy of working dir, as it exists now. |
I'll implement something that solves your issue with a flag for the moment. |
I've released 0.7.0 with a new flag. Make sure you read the instructions and set the lockRepo flag before you enable it. Let me know if it fixes your issue please. |
I've managed to test this today @Joibel works great! Thank you! ❤️ Defining two lovely-plugins configs, as you suggested (one with |
Glad to hear it. |
Given a simple kustomization like
and ArgoCD Application without lovely plugin, it works as expected, base is included and deployed properly.
However, when lovely plugin is included in the same Application:
an error is thrown:
Does lovely plugin support inclusion of base?
ArgoCD version: 2.4.12
Lovely version: 0.6.4
Kustomize version: 4.4.1
The text was updated successfully, but these errors were encountered: