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

feat: pause ensure work object #2165

Closed
wants to merge 1 commit into from

Conversation

CharlesQQ
Copy link
Contributor

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?:

NONE

@karmada-bot karmada-bot added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 10, 2022
@karmada-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign rainbowmango after the PR has been reviewed.
You can assign the PR to them by writing /assign @rainbowmango in a comment when ready.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@karmada-bot karmada-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 10, 2022
@CharlesQQ CharlesQQ force-pushed the karmada-paused-impl branch 2 times, most recently from 29d40e2 to b06f5ae Compare July 11, 2022 02:07
@@ -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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return true
}
}
return false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return false
return labels != nil && labels[PauseEnsureWorkLabels] == True

Signed-off-by: charlesQQ <charles_ali@qq.com>
@XiShanYongYe-Chang
Copy link
Member

Hi @CharlesQQ in favor of #5217, can we close this pr?

@CharlesQQ
Copy link
Contributor Author

/close

@karmada-bot karmada-bot closed this Aug 9, 2024
@karmada-bot
Copy link
Collaborator

@CharlesQQ: Closed this PR.

In response to this:

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to Support dynamically adding overriders
4 participants