Skip to content
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

Improve drift detection #459

Merged
merged 1 commit into from
Oct 13, 2021
Merged

Improve drift detection #459

merged 1 commit into from
Oct 13, 2021

Conversation

stefanprodan
Copy link
Member

Update github.com/fluxcd/pkg/ssa to v0.1.0 to remove server-side generated fields (metadata and status) before checking for semantic equality. Removing the server generated fields means that we no longer have to look for spec to properly detect drift.

Fix: fluxcd/flux2#1934

Update `github.com/fluxcd/pkg/ssa` to v0.1.0.
Remove server-side generated fields (metadata and status) before checking for semantic equality.
Removing the server generated fields means that we no longer have to look for `spec` to properly detect drift.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan added the enhancement New feature or request label Oct 13, 2021
@stefanprodan stefanprodan merged commit 6df6237 into main Oct 13, 2021
@stefanprodan stefanprodan deleted the ssa-drift branch October 13, 2021 09:52
@stefanprodan stefanprodan added the area/server-side-apply SSA related issues and pull requests label Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/server-side-apply SSA related issues and pull requests enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kustomize-controller reports same object "configured" on every reconciliation
2 participants