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

🐛 Provider re apply tests #422

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

Danil-Grigorev
Copy link
Contributor

@Danil-Grigorev Danil-Grigorev commented Mar 6, 2024

What this PR does / why we need it:
Add logic for conditions merge on CAPIProvider resource. This fixes situation when a LastAppliedConfigurationTime is set, but is overwritten by the child CAPI Operator conditions, causing forced cleanup of annotation and infinite reconciles.

Additionally, cache re-sync time reduced to 2 minutes so that the infrastructure is re-applied periodically.

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 #407
Depends on #396

Special notes for your reviewer:

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@Danil-Grigorev Danil-Grigorev added the kind/bug Something isn't working label Mar 6, 2024
@Danil-Grigorev Danil-Grigorev requested a review from a team as a code owner March 6, 2024 13:14
@Danil-Grigorev Danil-Grigorev force-pushed the provider-re-apply-tests branch 3 times, most recently from 56cac58 to 636021e Compare March 7, 2024 15:10
Signed-off-by: Danil Grigorev <danil.grigorev@suse.com>
@Danil-Grigorev Danil-Grigorev enabled auto-merge (squash) March 12, 2024 09:18
@Danil-Grigorev Danil-Grigorev merged commit 8e98869 into rancher:main Mar 12, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CAPIProvider predicate logic does not filter out metadata only changes
3 participants