Included FSType in CSI volumes

Kubernetes-commit: bbae978d4a0885a6135afb713e252ec4fa41a277
This commit is contained in:
Christian Huffman 2019-11-14 11:18:40 -05:00 committed by Kubernetes Publisher
parent 03dd8a5df9
commit fc490f462d
1 changed files with 2 additions and 1 deletions

View File

@ -1269,9 +1269,10 @@ func printCSIVolumeSource(csi *corev1.CSIVolumeSource, w PrefixWriter) {
func printCSIPersistentVolumeSource(csi *corev1.CSIPersistentVolumeSource, w PrefixWriter) { func printCSIPersistentVolumeSource(csi *corev1.CSIPersistentVolumeSource, w PrefixWriter) {
w.Write(LEVEL_2, "Type:\tCSI (a Container Storage Interface (CSI) volume source)\n"+ w.Write(LEVEL_2, "Type:\tCSI (a Container Storage Interface (CSI) volume source)\n"+
" Driver:\t%v\n"+ " Driver:\t%v\n"+
" FSType:\t%v\n"+
" VolumeHandle:\t%v\n"+ " VolumeHandle:\t%v\n"+
" ReadOnly:\t%v\n", " ReadOnly:\t%v\n",
csi.Driver, csi.VolumeHandle, csi.ReadOnly) csi.Driver, csi.FSType, csi.VolumeHandle, csi.ReadOnly)
printCSIPersistentVolumeAttributesMultiline(w, "VolumeAttributes", csi.VolumeAttributes) printCSIPersistentVolumeAttributesMultiline(w, "VolumeAttributes", csi.VolumeAttributes)
} }