-
Notifications
You must be signed in to change notification settings - Fork 98
✨ Use Secret as provider cache #827
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
✨ Use Secret as provider cache #827
Conversation
Skipping CI for Draft Pull Request. |
✅ Deploy Preview for kubernetes-sigs-cluster-api-operator ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Signed-off-by: Danil-Grigorev <[email protected]>
Signed-off-by: Danil-Grigorev <[email protected]>
Signed-off-by: Danil-Grigorev <[email protected]>
Signed-off-by: Danil-Grigorev <[email protected]>
Signed-off-by: Danil-Grigorev <[email protected]>
dcf3ae6
to
f4cbe27
Compare
Signed-off-by: Danil-Grigorev <[email protected]>
Signed-off-by: Danil-Grigorev <[email protected]>
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: alexander-demicev 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 |
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.
/lgtm
LGTM label has been added. Git tree hash: 40d6e67d080e01ba850278e4e9c9c6451bc5f6a5
|
What this PR does / why we need it:
This PR implements caching approach based on a
Secret
resource, capable of re-applying capi-operator managed manifests without performance/memory/network (access to external repositories) overhead. This allows all provider manifests to be templated once, and unless there is a change in the provider spec, referenced credentials/env secret content, the reconcile simply applies provider data on top of existing cluster state.This operation is much cheaper in terms of memory usage, then current templating pipeline from
clusterctl
, and it implemented as aphase
on top of existing reconcile process, allowing minimal code changes.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes rancher/highlander#133