-
Notifications
You must be signed in to change notification settings - Fork 1.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
[clusterctl] Provide control over local override features #2404
Comments
@fabriziopandini: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/milestone v0.3.0 +1 on making the user folder configurable |
/assign |
/milestone v0.3.x |
@wfernandes are you still planning on working on this? |
@ncdc Yes. I was planning on working on this but I haven't yet started work on it. I've been getting sidetracked with other issues. |
/lifecycle active |
Thoughts on what needs to be done
|
So I'm going to start implementation but before I do, I'd like to get some consensus. Instead of passing in another flag for overrides or OS env variable, I think it would make sense to use the same directory that /cc @fabriziopandini |
@wfernandes this was one on my suggested options, so I'm ok
not sure if linking the override folder to the config file is ok for @vincepri who expressed +1 for “make the override folder configurable“ |
So after digging more into the codebase and implementing a solution, a thought came to me. Do we need the overrides directory if we ask the user to update the That is, if the users have their local releases in a directory like Currently, we are dissecting the above path mentioned as
The above happens when we try and get the From a developer user experience, the It seems that the |
@wfernandes let's zoom/chat when you pickup the issue again next week I'm not sure I fully understand your idea above, but changing the provider URL in the config file can't fix the issue that arises when running E2E tests and existing overrides leak-in.
Get local overrides is called when reading from a repository the component yaml, metadata and also cluster-templates |
After discussing with @fabriziopandini we decided on adding a property in the clusterctl config file that determines the overrides folder path.
We will still default to |
User Story
As a developer, I would like to run clusterctl tests in isolation (without local overrides interfering on the test)
Detailed Description
Clusterctk supports local overrides and this feature proved super useful fo far.
However, local overrides can interfere with e2e test running on a developer machine.
Anything else you would like to add:
I see two options:
The change should be implemented here, but it is required to make all the information required for activating/deactivating local oveerides
/area clusterctl
/kind feature
/help
The text was updated successfully, but these errors were encountered: