-
Notifications
You must be signed in to change notification settings - Fork 362
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
feat(runtime): bump runtime to latest version for paused annotation #1507
feat(runtime): bump runtime to latest version for paused annotation #1507
Conversation
Signed-off-by: haarchri <chhaar30@googlemail.com>
@ulucinar is it normal that the paused annotation will cause a
|
Hi @haarchri, |
Yes it's enough - thanks for taking care |
Hi @haarchri, I suspect that there is another client updating the managed resource though. Then we would observe the repeating Only the provider running locally (built from this PR's HEAD), directly provisioning the resource with the pause annotation works as expected (the only event is the Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ReconciliationPaused 5m5s (x2 over 5m5s) managed/filesystem.efs.aws.crossplane.io Reconciliation is paused via the pause annotation Then, when I removed the annotation, the resource has been provisioned successfully with the following events: Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ReconciliationPaused 8m21s (x2 over 8m21s) managed/filesystem.efs.aws.crossplane.io Reconciliation is paused via the pause annotation
Normal CreatedExternalResource 83s managed/filesystem.efs.aws.crossplane.io Successfully requested creation of external resource If I prevent observation from succeeding without the pause annotation: Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning CannotObserveExternalResource 38s (x4 over 3m38s) managed/filesystem.efs.aws.crossplane.io failed to describe FileSystem: RequestCanceled: request context canceled
caused by: context deadline exceeded If I prevent observation from succeeding with the pause annotation: Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning CannotObserveExternalResource 8m4s (x5 over 12m) managed/filesystem.efs.aws.crossplane.io failed to describe FileSystem: RequestCanceled: request context canceled
caused by: context deadline exceeded
Normal ReconciliationPaused 7m48s (x3 over 8m4s) managed/filesystem.efs.aws.crossplane.io Reconciliation is paused via the pause annotation |
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.
Thank you @haarchri, lgtm.
Signed-off-by: haarchri chhaar30@googlemail.com
Description of your changes
added latest
crossplane-runtime
version to add paused annotation for resourcesFixes #
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested