-
Notifications
You must be signed in to change notification settings - Fork 86
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
Implement drift detection and correction for cluster state #661
Conversation
e8ee65c
to
134df35
Compare
134df35
to
c816012
Compare
@swade1987 it would be great if you could test this PR on your clusters, especially the kubeconfig validation during planning. |
4238103
to
7f01784
Compare
@stefanprodan I'll take this for a spin next week and keep you posted. |
497c47a
to
736db02
Compare
736db02
to
3578b21
Compare
Signed-off-by: Stefan Prodan <[email protected]>
be76123
to
bb2a674
Compare
1761d4a
to
b88263d
Compare
Signed-off-by: Stefan Prodan <[email protected]>
b88263d
to
c148bac
Compare
Looking good @stefanprodan
|
Changing the git branch works as well (as long as the branch exists in GitHub) (see below)
Ran
|
LGTM @stefanprodan, I ran a number of tests locally and things look good. |
Signed-off-by: Stefan Prodan <[email protected]>
Signed-off-by: Stefan Prodan <[email protected]>
This PR implements Flux readiness checks and drift detection for the cluster state. The provider applies changes to the Flux components and GitRepository/Kustomization manifests on the cluster, thus enabling changes to Git URL and branch to be actuated. It also adds a check for verifying the kubeconfig during planning phase.
Description
Changes:
path
field in the same way the CLI does it (breaking change).Motivation and Context
Being able to update Flux in the cluster by detecting drift in the cluster state during planning and apply.
Fix: #500
Fix: #656
Fix: #653
Fix: #564
Fix: #176
Fix: #499
How has this been tested?
Manual testing for:
Types of changes
Documentation
make docs
Checklist:
git commit -s