-
Notifications
You must be signed in to change notification settings - Fork 40k
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 PVC.Status.Capacity and AccessModes after binding #29982
Fix PVC.Status.Capacity and AccessModes after binding #29982
Conversation
glog.V(4).Infof("updating PersistentVolumeClaim[%s]: phase %s already set", claimToClaimKey(claim), phase) | ||
return claim, nil | ||
} | ||
// updateClaimStatusWithEvent saves new claim.Status to API server. |
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.
updateClaimStatus
not updateClaimStatusWithEvent
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.
Please add comment explaining what the parameters are and how they are used.
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.
comments added
ea3a56e
to
a2cd876
Compare
LGTM |
Please squash commits and add LGTM label |
Also, fix unit tests to have the same claim and volume sizes in most of the tests where we don't test matching based on size and test for a specific size when we do actually test the matching.
a2cd876
to
3c53649
Compare
squashed and pushed |
GCE e2e build/test passed for commit 3c53649. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit 3c53649. |
Automatic merge from submit-queue |
Commit found in the "release-1.3" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
…ck-of-#29982-upstream-release-1.3 Automatic merge from submit-queue Automated cherry pick of kubernetes#29982 Cherry pick of kubernetes#29982 on release-1.3.
…ck-of-#29982-upstream-release-1.3 Automatic merge from submit-queue Automated cherry pick of kubernetes#29982 Cherry pick of kubernetes#29982 on release-1.3.
Also, fix unit tests to have the same claim and volume sizes in most of the
tests where we don't test matching based on size and test for a specific size
when we do actually test the matching.
Fixes #29425