Use +default for now deprecated AzureDisk volume

This commit is contained in:
Tim Hockin
2024-06-19 11:45:22 -07:00
parent 333c02cf28
commit 0f5ab4beec
19 changed files with 1271 additions and 902 deletions

View File

@@ -22,7 +22,8 @@ limitations under the License.
package openapi
import (
v1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
v1 "k8s.io/api/core/v1"
apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
v1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
resource "k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -19109,6 +19110,7 @@ func schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref common.ReferenceCallback
"cachingMode": {
SchemaProps: spec.SchemaProps{
Description: "cachingMode is the Host Caching mode: None, Read Only, Read Write.\n\nPossible enum values:\n - `\"None\"`\n - `\"ReadOnly\"`\n - `\"ReadWrite\"`",
Default: v1.AzureDataDiskCachingReadWrite,
Type: []string{"string"},
Format: "",
Enum: []interface{}{"None", "ReadOnly", "ReadWrite"},
@@ -19117,6 +19119,7 @@ func schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref common.ReferenceCallback
"fsType": {
SchemaProps: spec.SchemaProps{
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.",
Default: "ext4",
Type: []string{"string"},
Format: "",
},
@@ -19124,6 +19127,7 @@ func schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref common.ReferenceCallback
"readOnly": {
SchemaProps: spec.SchemaProps{
Description: "readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
Default: false,
Type: []string{"boolean"},
Format: "",
},
@@ -19131,6 +19135,7 @@ func schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref common.ReferenceCallback
"kind": {
SchemaProps: spec.SchemaProps{
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\n\nPossible enum values:\n - `\"Dedicated\"`\n - `\"Managed\"`\n - `\"Shared\"`",
Default: v1.AzureSharedBlobDisk,
Type: []string{"string"},
Format: "",
Enum: []interface{}{"Dedicated", "Managed", "Shared"},
@@ -50753,8 +50758,8 @@ func schema_pkg_apis_apiextensions_v1_JSON(ref common.ReferenceCallback) common.
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.",
Type: v1.JSON{}.OpenAPISchemaType(),
Format: v1.JSON{}.OpenAPISchemaFormat(),
Type: apiextensionsv1.JSON{}.OpenAPISchemaType(),
Format: apiextensionsv1.JSON{}.OpenAPISchemaFormat(),
},
},
}
@@ -51167,8 +51172,8 @@ func schema_pkg_apis_apiextensions_v1_JSONSchemaPropsOrArray(ref common.Referenc
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.",
Type: v1.JSONSchemaPropsOrArray{}.OpenAPISchemaType(),
Format: v1.JSONSchemaPropsOrArray{}.OpenAPISchemaFormat(),
Type: apiextensionsv1.JSONSchemaPropsOrArray{}.OpenAPISchemaType(),
Format: apiextensionsv1.JSONSchemaPropsOrArray{}.OpenAPISchemaFormat(),
},
},
}
@@ -51179,8 +51184,8 @@ func schema_pkg_apis_apiextensions_v1_JSONSchemaPropsOrBool(ref common.Reference
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.",
Type: v1.JSONSchemaPropsOrBool{}.OpenAPISchemaType(),
Format: v1.JSONSchemaPropsOrBool{}.OpenAPISchemaFormat(),
Type: apiextensionsv1.JSONSchemaPropsOrBool{}.OpenAPISchemaType(),
Format: apiextensionsv1.JSONSchemaPropsOrBool{}.OpenAPISchemaFormat(),
},
},
}
@@ -51191,8 +51196,8 @@ func schema_pkg_apis_apiextensions_v1_JSONSchemaPropsOrStringArray(ref common.Re
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.",
Type: v1.JSONSchemaPropsOrStringArray{}.OpenAPISchemaType(),
Format: v1.JSONSchemaPropsOrStringArray{}.OpenAPISchemaFormat(),
Type: apiextensionsv1.JSONSchemaPropsOrStringArray{}.OpenAPISchemaType(),
Format: apiextensionsv1.JSONSchemaPropsOrStringArray{}.OpenAPISchemaFormat(),
},
},
}