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

Adding to PV's annotation volume attributes #24

Merged
merged 1 commit into from
Jan 11, 2018
Merged

Adding to PV's annotation volume attributes #24

merged 1 commit into from
Jan 11, 2018

Conversation

sbezverk
Copy link
Contributor

Closes:#23

Adding population of PV's annotations with volume attributes.

if err != nil {
glog.V(2).Infof("fail parsing volume attributes: %+v", rep.VolumeInfo.Attributes)
} else {
annotations["csi.volume.kubernetes.io/volume-attributes"] = string(attributesString)
Copy link
Contributor

Choose a reason for hiding this comment

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

please define a constant for the annotation name

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@jsafrane jsafrane merged commit 5743154 into kubernetes-csi:master Jan 11, 2018
@sbezverk sbezverk deleted the external_provisioner_issue#23 branch January 11, 2018 13:27
bertinatto pushed a commit to bertinatto/external-provisioner that referenced this pull request Feb 10, 2020
kbsonlong pushed a commit to kbsonlong/external-provisioner that referenced this pull request Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants