-
Notifications
You must be signed in to change notification settings - Fork 1.4k
✨clusterctl: add support for local override of files read from provider's repository #1981
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: add support for local override of files read from provider's repository #1981
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini, vincepri 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 |
@vincepri comment addressed, let me know if I can squash commits |
go for it! this looks ready to go |
efa4028
to
2febc3a
Compare
@vincepri squash done |
/lgtm |
What this PR does / why we need it:
This PR introduces in clusterctl the possibility to define local overrides for the files read from the provider's Repository.
This is required for development purposes, but it can be used also in production as a workaround for problems on the official repositories.
Local override files are searched under
$home/cluster-api/overrides/provider-name/version/path
NB. local override files provide a way to replace only specific files while everything else still remains hosted in the provider repository/on GitHub; the local file system repository implementation provides a complete replacement of provider repository/a github repository
Which issue(s) this PR fixes
Rif #1729
/assign @vincepri