-
Notifications
You must be signed in to change notification settings - Fork 877
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: pause ensure work object #2165
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
29d40e2
to
b06f5ae
Compare
@@ -116,6 +116,9 @@ const ( | |||
// Only necessary for those resource types that have dependencies resources and expect the dependencies be propagated | |||
// together, like Deployment depends on ConfigMap/Secret. | |||
InterpreterOperationInterpretDependency InterpreterOperation = "InterpretDependency" | |||
|
|||
// InterpreterOperationPauseEnsureWork indicates that karmada want to judge whether pause ensure work object or not. | |||
InterpreterOperationPauseEnsureWork InterpreterOperation = "PauseEnsureWork" |
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.
Do you need to update the document?
return true | ||
} | ||
} | ||
return false |
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.
return false | |
return labels != nil && labels[PauseEnsureWorkLabels] == True |
Signed-off-by: charlesQQ <charles_ali@qq.com>
b06f5ae
to
4f0a052
Compare
Hi @CharlesQQ in favor of #5217, can we close this pr? |
/close |
@CharlesQQ: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Signed-off-by: charlesQQ charles_ali@qq.com
What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #1567
Special notes for your reviewer:
Does this PR introduce a user-facing change?: