mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
add default value to ScaleIOVolumeSource spec
This commit is contained in:
parent
410941b40c
commit
bb1a9f511f
@ -1264,6 +1264,7 @@ type ScaleIOVolumeSource struct {
|
|||||||
// +optional
|
// +optional
|
||||||
StoragePool string
|
StoragePool string
|
||||||
// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
|
// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
|
||||||
|
// Default is ThinProvisioned.
|
||||||
// +optional
|
// +optional
|
||||||
StorageMode string
|
StorageMode string
|
||||||
// The name of a volume already created in the ScaleIO system
|
// The name of a volume already created in the ScaleIO system
|
||||||
@ -1271,7 +1272,8 @@ type ScaleIOVolumeSource struct {
|
|||||||
VolumeName string
|
VolumeName string
|
||||||
// Filesystem type to mount.
|
// Filesystem type to mount.
|
||||||
// Must be a filesystem type supported by the host operating system.
|
// Must be a filesystem type supported by the host operating system.
|
||||||
// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
// Ex. "ext4", "xfs", "ntfs".
|
||||||
|
// Default is "xfs".
|
||||||
// +optional
|
// +optional
|
||||||
FSType string
|
FSType string
|
||||||
// Defaults to false (read/write). ReadOnly here will force
|
// Defaults to false (read/write). ReadOnly here will force
|
||||||
@ -1300,6 +1302,7 @@ type ScaleIOPersistentVolumeSource struct {
|
|||||||
// +optional
|
// +optional
|
||||||
StoragePool string
|
StoragePool string
|
||||||
// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
|
// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
|
||||||
|
// Default is ThinProvisioned.
|
||||||
// +optional
|
// +optional
|
||||||
StorageMode string
|
StorageMode string
|
||||||
// The name of a volume created in the ScaleIO system
|
// The name of a volume created in the ScaleIO system
|
||||||
@ -1307,7 +1310,8 @@ type ScaleIOPersistentVolumeSource struct {
|
|||||||
VolumeName string
|
VolumeName string
|
||||||
// Filesystem type to mount.
|
// Filesystem type to mount.
|
||||||
// Must be a filesystem type supported by the host operating system.
|
// Must be a filesystem type supported by the host operating system.
|
||||||
// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
// Ex. "ext4", "xfs", "ntfs".
|
||||||
|
// Default is "xfs".
|
||||||
// +optional
|
// +optional
|
||||||
FSType string
|
FSType string
|
||||||
// Defaults to false (read/write). ReadOnly here will force
|
// Defaults to false (read/write). ReadOnly here will force
|
||||||
|
@ -1339,6 +1339,7 @@ type ScaleIOVolumeSource struct {
|
|||||||
// +optional
|
// +optional
|
||||||
StoragePool string `json:"storagePool,omitempty" protobuf:"bytes,6,opt,name=storagePool"`
|
StoragePool string `json:"storagePool,omitempty" protobuf:"bytes,6,opt,name=storagePool"`
|
||||||
// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
|
// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
|
||||||
|
// Default is ThinProvisioned.
|
||||||
// +optional
|
// +optional
|
||||||
StorageMode string `json:"storageMode,omitempty" protobuf:"bytes,7,opt,name=storageMode"`
|
StorageMode string `json:"storageMode,omitempty" protobuf:"bytes,7,opt,name=storageMode"`
|
||||||
// The name of a volume already created in the ScaleIO system
|
// The name of a volume already created in the ScaleIO system
|
||||||
@ -1346,7 +1347,8 @@ type ScaleIOVolumeSource struct {
|
|||||||
VolumeName string `json:"volumeName,omitempty" protobuf:"bytes,8,opt,name=volumeName"`
|
VolumeName string `json:"volumeName,omitempty" protobuf:"bytes,8,opt,name=volumeName"`
|
||||||
// Filesystem type to mount.
|
// Filesystem type to mount.
|
||||||
// Must be a filesystem type supported by the host operating system.
|
// Must be a filesystem type supported by the host operating system.
|
||||||
// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
// Ex. "ext4", "xfs", "ntfs".
|
||||||
|
// Default is "xfs".
|
||||||
// +optional
|
// +optional
|
||||||
FSType string `json:"fsType,omitempty" protobuf:"bytes,9,opt,name=fsType"`
|
FSType string `json:"fsType,omitempty" protobuf:"bytes,9,opt,name=fsType"`
|
||||||
// Defaults to false (read/write). ReadOnly here will force
|
// Defaults to false (read/write). ReadOnly here will force
|
||||||
@ -1374,6 +1376,7 @@ type ScaleIOPersistentVolumeSource struct {
|
|||||||
// +optional
|
// +optional
|
||||||
StoragePool string `json:"storagePool,omitempty" protobuf:"bytes,6,opt,name=storagePool"`
|
StoragePool string `json:"storagePool,omitempty" protobuf:"bytes,6,opt,name=storagePool"`
|
||||||
// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
|
// Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
|
||||||
|
// Default is ThinProvisioned.
|
||||||
// +optional
|
// +optional
|
||||||
StorageMode string `json:"storageMode,omitempty" protobuf:"bytes,7,opt,name=storageMode"`
|
StorageMode string `json:"storageMode,omitempty" protobuf:"bytes,7,opt,name=storageMode"`
|
||||||
// The name of a volume already created in the ScaleIO system
|
// The name of a volume already created in the ScaleIO system
|
||||||
@ -1381,7 +1384,8 @@ type ScaleIOPersistentVolumeSource struct {
|
|||||||
VolumeName string `json:"volumeName,omitempty" protobuf:"bytes,8,opt,name=volumeName"`
|
VolumeName string `json:"volumeName,omitempty" protobuf:"bytes,8,opt,name=volumeName"`
|
||||||
// Filesystem type to mount.
|
// Filesystem type to mount.
|
||||||
// Must be a filesystem type supported by the host operating system.
|
// Must be a filesystem type supported by the host operating system.
|
||||||
// Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
|
// Ex. "ext4", "xfs", "ntfs".
|
||||||
|
// Default is "xfs"
|
||||||
// +optional
|
// +optional
|
||||||
FSType string `json:"fsType,omitempty" protobuf:"bytes,9,opt,name=fsType"`
|
FSType string `json:"fsType,omitempty" protobuf:"bytes,9,opt,name=fsType"`
|
||||||
// Defaults to false (read/write). ReadOnly here will force
|
// Defaults to false (read/write). ReadOnly here will force
|
||||||
|
Loading…
Reference in New Issue
Block a user