Merge pull request #58762 from musse/make-volume-attr-first-class

Automatic merge from submit-queue (batch tested with PRs 60214, 58762, 59898, 59897, 60204). 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>.

Make CSI volume attributes first class

**What this PR does / why we need it**:
Move CSI volume attributes from PV annotation to CSI volume source first class field

**Release note**:
```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue
2018-02-22 22:02:33 -08:00
committed by GitHub
14 changed files with 990 additions and 861 deletions

View File

@@ -75241,6 +75241,13 @@
"description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).",
"type": "boolean"
},
"volumeAttributes": {
"description": "Attributes of the volume to publish.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"volumeHandle": {
"description": "VolumeHandle is the unique volume name returned by the CSI volume plugins CreateVolume to refer to the volume on all subsequent calls. Required.",
"type": "string"

View File

@@ -19980,6 +19980,10 @@
"fsType": {
"type": "string",
"description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified."
},
"volumeAttributes": {
"type": "object",
"description": "Attributes of the volume to publish."
}
}
},