-
Notifications
You must be signed in to change notification settings - Fork 431
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
add pause handling for AzureMachine, AzureManagedMachinePool, AzureMachinePool #3808
add pause handling for AzureMachine, AzureManagedMachinePool, AzureMachinePool #3808
Conversation
(squash reminder) |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #3808 +/- ##
==========================================
+ Coverage 54.86% 55.18% +0.32%
==========================================
Files 188 188
Lines 19348 19427 +79
==========================================
+ Hits 10615 10721 +106
+ Misses 8151 8111 -40
- Partials 582 595 +13
☔ View full report in Codecov by Sentry. |
/assign |
/retest |
1 similar comment
/retest |
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
@@ -1310,3 +1311,214 @@ func Test_ManagedMachinePoolToInfrastructureMapFunc(t *testing.T) { | |||
}) | |||
} | |||
} | |||
|
|||
func TestClusterPauseChangeAndInfrastructureReady(t *testing.T) { |
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 label has been added. Git tree hash: 277b94ccf39f98172f28bcd856a01b4d130669d1
|
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon 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 |
fb83d3d
to
22fa554
Compare
squashed! |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR follows up from #3735 and #3783 to set up the remaining controllers to handle pausing ASO resources when the parent Cluster is paused. These changes aren't strictly necessary until more services are re-implemented to use ASO, but I figured it would be worth merging ahead of time so we don't have to remember to do that later.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Part of #3525
Special notes for your reviewer:
TODOs:
Release note: