-
Notifications
You must be signed in to change notification settings - Fork 500
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
Fix labelselector error in reclaimPolicyManager #2707
Conversation
pkg/controller/pv_control.go
Outdated
} | ||
if string(latestPV.Spec.PersistentVolumeReclaimPolicy) == string(reclaimPolicy) { | ||
return nil | ||
} |
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.
don't check here
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.
updated.
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
/merge |
/run-all-tests |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-1.1 in PR #2711 |
What problem does this PR solve?
The label selector logic is wrong in
reclaimPolicyManager
'ssync
function which would cause TidbMonitor covered TidbCluster's reclaimPolicy, this request fix it.fix #2697
Does this PR introduce a user-facing change?: