Skip to content

Commit

Permalink
Merge pull request kubernetes#125600 from thockin/plus_default_deprec…
Browse files Browse the repository at this point in the history
…ated_volumes

Use +default for deprecated volume types
  • Loading branch information
k8s-ci-robot committed Jun 27, 2024
2 parents 41f2182 + a074dd6 commit df20694
Show file tree
Hide file tree
Showing 19 changed files with 1,744 additions and 1,004 deletions.
16 changes: 16 additions & 0 deletions api/openapi-spec/v3/api__v1_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@
"description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
"properties": {
"cachingMode": {
"default": "ReadWrite",
"description": "cachingMode is the Host Caching mode: None, Read Only, Read Write.",
"type": "string"
},
Expand All @@ -327,14 +328,17 @@
"type": "string"
},
"fsType": {
"default": "ext4",
"description": "fsType is 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.",
"type": "string"
},
"kind": {
"default": "Shared",
"description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared",
"type": "string"
},
"readOnly": {
"default": false,
"description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
}
Expand Down Expand Up @@ -2873,6 +2877,7 @@
"type": "string"
},
"iscsiInterface": {
"default": "default",
"description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
"type": "string"
},
Expand Down Expand Up @@ -2941,6 +2946,7 @@
"type": "string"
},
"iscsiInterface": {
"default": "default",
"description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
"type": "string"
},
Expand Down Expand Up @@ -6206,6 +6212,7 @@
"type": "string"
},
"keyring": {
"default": "/etc/ceph/keyring",
"description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
Expand All @@ -6219,6 +6226,7 @@
"x-kubernetes-list-type": "atomic"
},
"pool": {
"default": "rbd",
"description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
Expand All @@ -6235,6 +6243,7 @@
"description": "secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
},
"user": {
"default": "admin",
"description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
}
Expand All @@ -6258,6 +6267,7 @@
"type": "string"
},
"keyring": {
"default": "/etc/ceph/keyring",
"description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
Expand All @@ -6271,6 +6281,7 @@
"x-kubernetes-list-type": "atomic"
},
"pool": {
"default": "rbd",
"description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
Expand All @@ -6287,6 +6298,7 @@
"description": "secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
},
"user": {
"default": "admin",
"description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
}
Expand Down Expand Up @@ -6758,6 +6770,7 @@
"description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume",
"properties": {
"fsType": {
"default": "xfs",
"description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"",
"type": "string"
},
Expand Down Expand Up @@ -6787,6 +6800,7 @@
"type": "boolean"
},
"storageMode": {
"default": "ThinProvisioned",
"description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.",
"type": "string"
},
Expand Down Expand Up @@ -6815,6 +6829,7 @@
"description": "ScaleIOVolumeSource represents a persistent ScaleIO volume",
"properties": {
"fsType": {
"default": "xfs",
"description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".",
"type": "string"
},
Expand Down Expand Up @@ -6844,6 +6859,7 @@
"type": "boolean"
},
"storageMode": {
"default": "ThinProvisioned",
"description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.",
"type": "string"
},
Expand Down
10 changes: 10 additions & 0 deletions api/openapi-spec/v3/apis__apps__v1_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1421,6 +1421,7 @@
"description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
"properties": {
"cachingMode": {
"default": "ReadWrite",
"description": "cachingMode is the Host Caching mode: None, Read Only, Read Write.",
"type": "string"
},
Expand All @@ -1435,14 +1436,17 @@
"type": "string"
},
"fsType": {
"default": "ext4",
"description": "fsType is 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.",
"type": "string"
},
"kind": {
"default": "Shared",
"description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared",
"type": "string"
},
"readOnly": {
"default": false,
"description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
}
Expand Down Expand Up @@ -2772,6 +2776,7 @@
"type": "string"
},
"iscsiInterface": {
"default": "default",
"description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
"type": "string"
},
Expand Down Expand Up @@ -4247,6 +4252,7 @@
"type": "string"
},
"keyring": {
"default": "/etc/ceph/keyring",
"description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
Expand All @@ -4260,6 +4266,7 @@
"x-kubernetes-list-type": "atomic"
},
"pool": {
"default": "rbd",
"description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
Expand All @@ -4276,6 +4283,7 @@
"description": "secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
},
"user": {
"default": "admin",
"description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
}
Expand Down Expand Up @@ -4389,6 +4397,7 @@
"description": "ScaleIOVolumeSource represents a persistent ScaleIO volume",
"properties": {
"fsType": {
"default": "xfs",
"description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".",
"type": "string"
},
Expand Down Expand Up @@ -4418,6 +4427,7 @@
"type": "boolean"
},
"storageMode": {
"default": "ThinProvisioned",
"description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.",
"type": "string"
},
Expand Down
10 changes: 10 additions & 0 deletions api/openapi-spec/v3/apis__batch__v1_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,7 @@
"description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
"properties": {
"cachingMode": {
"default": "ReadWrite",
"description": "cachingMode is the Host Caching mode: None, Read Only, Read Write.",
"type": "string"
},
Expand All @@ -784,14 +785,17 @@
"type": "string"
},
"fsType": {
"default": "ext4",
"description": "fsType is 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.",
"type": "string"
},
"kind": {
"default": "Shared",
"description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared",
"type": "string"
},
"readOnly": {
"default": false,
"description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
}
Expand Down Expand Up @@ -2121,6 +2125,7 @@
"type": "string"
},
"iscsiInterface": {
"default": "default",
"description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
"type": "string"
},
Expand Down Expand Up @@ -3451,6 +3456,7 @@
"type": "string"
},
"keyring": {
"default": "/etc/ceph/keyring",
"description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
Expand All @@ -3464,6 +3470,7 @@
"x-kubernetes-list-type": "atomic"
},
"pool": {
"default": "rbd",
"description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
Expand All @@ -3480,6 +3487,7 @@
"description": "secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
},
"user": {
"default": "admin",
"description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
}
Expand Down Expand Up @@ -3593,6 +3601,7 @@
"description": "ScaleIOVolumeSource represents a persistent ScaleIO volume",
"properties": {
"fsType": {
"default": "xfs",
"description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".",
"type": "string"
},
Expand Down Expand Up @@ -3622,6 +3631,7 @@
"type": "boolean"
},
"storageMode": {
"default": "ThinProvisioned",
"description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.",
"type": "string"
},
Expand Down
10 changes: 10 additions & 0 deletions api/openapi-spec/v3/apis__storage.k8s.io__v1_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.",
"properties": {
"cachingMode": {
"default": "ReadWrite",
"description": "cachingMode is the Host Caching mode: None, Read Only, Read Write.",
"type": "string"
},
Expand All @@ -46,14 +47,17 @@
"type": "string"
},
"fsType": {
"default": "ext4",
"description": "fsType is 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.",
"type": "string"
},
"kind": {
"default": "Shared",
"description": "kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared",
"type": "string"
},
"readOnly": {
"default": false,
"description": "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
"type": "boolean"
}
Expand Down Expand Up @@ -427,6 +431,7 @@
"type": "string"
},
"iscsiInterface": {
"default": "default",
"description": "iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).",
"type": "string"
},
Expand Down Expand Up @@ -961,6 +966,7 @@
"type": "string"
},
"keyring": {
"default": "/etc/ceph/keyring",
"description": "keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
Expand All @@ -974,6 +980,7 @@
"x-kubernetes-list-type": "atomic"
},
"pool": {
"default": "rbd",
"description": "pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
},
Expand All @@ -990,6 +997,7 @@
"description": "secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it"
},
"user": {
"default": "admin",
"description": "user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it",
"type": "string"
}
Expand All @@ -1004,6 +1012,7 @@
"description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume",
"properties": {
"fsType": {
"default": "xfs",
"description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"",
"type": "string"
},
Expand Down Expand Up @@ -1033,6 +1042,7 @@
"type": "boolean"
},
"storageMode": {
"default": "ThinProvisioned",
"description": "storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.",
"type": "string"
},
Expand Down
Loading

0 comments on commit df20694

Please sign in to comment.