Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Fix provisioning for >=1.5 to recognize annotation as authoritative #521

Merged
merged 1 commit into from
Dec 20, 2017

Conversation

wongma7
Copy link
Contributor

@wongma7 wongma7 commented Dec 20, 2017

Fix bug uncovered by kubernetes/kubernetes#55780 (comment)

In Kube >=1.5, the annotation is supposed to be the authoritative/only source of truth about whether to provision for a given volume.

The tests now set the annotation by default since it is what the kube pv controller would do.

@msau42
Copy link
Contributor

msau42 commented Dec 20, 2017

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 20, 2017
@wongma7 wongma7 merged commit c3ee08f into kubernetes-retired:master Dec 20, 2017
k8s-github-robot pushed a commit to kubernetes/kubernetes that referenced this pull request Dec 21, 2017
Automatic merge from submit-queue (batch tested with PRs 57434, 57221, 57417, 57474, 57481). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Update nfsprovisioner image to v1.0.9 to fix annotation race with pv controller

fix #55780 . Summary: the provisioner must wait for the pv controller's annotation to be set as described by the 'protocol' doc, fail to wait and the pv controller may not be ready.

The relevant change to the image was kubernetes-retired/external-storage#521
```release-note
NONE
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/lib cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. 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.

3 participants