volume_attributes is now volume_context in CSI spec

this is reflected in the code as well: https://github.com/kubernetes/kubernetes/blob/master/pkg/volume/csi/csi_client.go#L52
This commit is contained in:
Ori Hoch
2020-06-15 10:20:56 +03:00
committed by GitHub
parent 88c6faa6c7
commit 527960a092
+1 -1
View File
@@ -1323,7 +1323,7 @@ persistent volume:
of a volume. This map must correspond to the map returned in the
`volume.attributes` field of the `CreateVolumeResponse` by the CSI driver as
defined in the [CSI spec](https://github.com/container-storage-interface/spec/blob/master/spec.md#createvolume).
The map is passed to the CSI driver via the `volume_attributes` field in the
The map is passed to the CSI driver via the `volume_context` field in the
`ControllerPublishVolumeRequest`, `NodeStageVolumeRequest`, and
`NodePublishVolumeRequest`.
- `controllerPublishSecretRef`: A reference to the secret object containing