From 7a6acefd216ded0266266c9d8d1999becbd0900b Mon Sep 17 00:00:00 2001 From: Matthew Wong Date: Wed, 4 Jul 2018 12:40:14 -0400 Subject: [PATCH] Generate code for BlockVolume beta promotion --- api/openapi-spec/swagger.json | 6 +++--- api/swagger-spec/apps_v1.json | 4 ++-- api/swagger-spec/apps_v1beta1.json | 4 ++-- api/swagger-spec/apps_v1beta2.json | 4 ++-- api/swagger-spec/batch_v1.json | 2 +- api/swagger-spec/batch_v1beta1.json | 2 +- api/swagger-spec/batch_v2alpha1.json | 2 +- api/swagger-spec/extensions_v1beta1.json | 2 +- api/swagger-spec/v1.json | 6 +++--- docs/api-reference/apps/v1/definitions.html | 4 ++-- docs/api-reference/apps/v1beta1/definitions.html | 4 ++-- docs/api-reference/apps/v1beta2/definitions.html | 4 ++-- docs/api-reference/batch/v1/definitions.html | 2 +- docs/api-reference/batch/v1beta1/definitions.html | 2 +- docs/api-reference/batch/v2alpha1/definitions.html | 2 +- docs/api-reference/extensions/v1beta1/definitions.html | 2 +- docs/api-reference/v1/definitions.html | 6 +++--- staging/src/k8s.io/api/core/v1/generated.proto | 6 +++--- .../src/k8s.io/api/core/v1/types_swagger_doc_generated.go | 6 +++--- 19 files changed, 35 insertions(+), 35 deletions(-) diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 5c5acb0728f..46863f1f716 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -84240,7 +84240,7 @@ "type": "boolean" }, "volumeDevices": { - "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", + "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" @@ -86193,7 +86193,7 @@ "type": "string" }, "volumeMode": { - "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future.", + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.", "type": "string" }, "volumeName": { @@ -86409,7 +86409,7 @@ "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSPersistentVolumeSource" }, "volumeMode": { - "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is an alpha feature and may change in the future.", + "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature.", "type": "string" }, "vsphereVolume": { diff --git a/api/swagger-spec/apps_v1.json b/api/swagger-spec/apps_v1.json index e1f00418afa..50ddd86ef75 100644 --- a/api/swagger-spec/apps_v1.json +++ b/api/swagger-spec/apps_v1.json @@ -8227,7 +8227,7 @@ "items": { "$ref": "v1.VolumeDevice" }, - "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future." + "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature." }, "livenessProbe": { "$ref": "v1.Probe", @@ -9796,7 +9796,7 @@ }, "volumeMode": { "$ref": "v1.PersistentVolumeMode", - "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future." + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature." }, "dataSource": { "$ref": "v1.TypedLocalObjectReference", diff --git a/api/swagger-spec/apps_v1beta1.json b/api/swagger-spec/apps_v1beta1.json index 78bc79c312e..d829551f17f 100644 --- a/api/swagger-spec/apps_v1beta1.json +++ b/api/swagger-spec/apps_v1beta1.json @@ -5739,7 +5739,7 @@ "items": { "$ref": "v1.VolumeDevice" }, - "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future." + "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature." }, "livenessProbe": { "$ref": "v1.Probe", @@ -6982,7 +6982,7 @@ }, "volumeMode": { "$ref": "v1.PersistentVolumeMode", - "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future." + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature." }, "dataSource": { "$ref": "v1.TypedLocalObjectReference", diff --git a/api/swagger-spec/apps_v1beta2.json b/api/swagger-spec/apps_v1beta2.json index c120736f433..c20e4236d6e 100644 --- a/api/swagger-spec/apps_v1beta2.json +++ b/api/swagger-spec/apps_v1beta2.json @@ -8227,7 +8227,7 @@ "items": { "$ref": "v1.VolumeDevice" }, - "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future." + "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature." }, "livenessProbe": { "$ref": "v1.Probe", @@ -9800,7 +9800,7 @@ }, "volumeMode": { "$ref": "v1.PersistentVolumeMode", - "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future." + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature." }, "dataSource": { "$ref": "v1.TypedLocalObjectReference", diff --git a/api/swagger-spec/batch_v1.json b/api/swagger-spec/batch_v1.json index d42ab3d3d81..b28f65f494b 100644 --- a/api/swagger-spec/batch_v1.json +++ b/api/swagger-spec/batch_v1.json @@ -2923,7 +2923,7 @@ "items": { "$ref": "v1.VolumeDevice" }, - "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future." + "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature." }, "livenessProbe": { "$ref": "v1.Probe", diff --git a/api/swagger-spec/batch_v1beta1.json b/api/swagger-spec/batch_v1beta1.json index dcf1a670d31..e40a742cda3 100644 --- a/api/swagger-spec/batch_v1beta1.json +++ b/api/swagger-spec/batch_v1beta1.json @@ -2978,7 +2978,7 @@ "items": { "$ref": "v1.VolumeDevice" }, - "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future." + "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature." }, "livenessProbe": { "$ref": "v1.Probe", diff --git a/api/swagger-spec/batch_v2alpha1.json b/api/swagger-spec/batch_v2alpha1.json index ec644ae9495..3e3f32a5c54 100644 --- a/api/swagger-spec/batch_v2alpha1.json +++ b/api/swagger-spec/batch_v2alpha1.json @@ -2978,7 +2978,7 @@ "items": { "$ref": "v1.VolumeDevice" }, - "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future." + "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature." }, "livenessProbe": { "$ref": "v1.Probe", diff --git a/api/swagger-spec/extensions_v1beta1.json b/api/swagger-spec/extensions_v1beta1.json index 00e23d5fb12..9b42ba5de56 100644 --- a/api/swagger-spec/extensions_v1beta1.json +++ b/api/swagger-spec/extensions_v1beta1.json @@ -8923,7 +8923,7 @@ "items": { "$ref": "v1.VolumeDevice" }, - "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future." + "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature." }, "livenessProbe": { "$ref": "v1.Probe", diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index 1afe25a96bf..21d43eb62ff 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -19987,7 +19987,7 @@ }, "volumeMode": { "$ref": "v1.PersistentVolumeMode", - "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future." + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature." }, "dataSource": { "$ref": "v1.TypedLocalObjectReference", @@ -20320,7 +20320,7 @@ }, "volumeMode": { "$ref": "v1.PersistentVolumeMode", - "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is an alpha feature and may change in the future." + "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature." }, "nodeAffinity": { "$ref": "v1.VolumeNodeAffinity", @@ -22143,7 +22143,7 @@ "items": { "$ref": "v1.VolumeDevice" }, - "description": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future." + "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature." }, "livenessProbe": { "$ref": "v1.Probe", diff --git a/docs/api-reference/apps/v1/definitions.html b/docs/api-reference/apps/v1/definitions.html index 3488071d266..cb6bedc8f21 100755 --- a/docs/api-reference/apps/v1/definitions.html +++ b/docs/api-reference/apps/v1/definitions.html @@ -1012,7 +1012,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

volumeMode

-

volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future.

+

volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.

false

v1.PersistentVolumeMode

@@ -5718,7 +5718,7 @@ Examples:

volumeDevices

-

volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.

+

volumeDevices is the list of block devices to be used by the container. This is a beta feature.

false

v1.VolumeDevice array

diff --git a/docs/api-reference/apps/v1beta1/definitions.html b/docs/api-reference/apps/v1beta1/definitions.html index cd1c7582017..40de1ba05a8 100755 --- a/docs/api-reference/apps/v1beta1/definitions.html +++ b/docs/api-reference/apps/v1beta1/definitions.html @@ -1040,7 +1040,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

volumeMode

-

volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future.

+

volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.

false

v1.PersistentVolumeMode

@@ -5853,7 +5853,7 @@ Examples:

volumeDevices

-

volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.

+

volumeDevices is the list of block devices to be used by the container. This is a beta feature.

false

v1.VolumeDevice array

diff --git a/docs/api-reference/apps/v1beta2/definitions.html b/docs/api-reference/apps/v1beta2/definitions.html index b092861a423..4cc6df83ba9 100755 --- a/docs/api-reference/apps/v1beta2/definitions.html +++ b/docs/api-reference/apps/v1beta2/definitions.html @@ -987,7 +987,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

volumeMode

-

volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future.

+

volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.

false

v1.PersistentVolumeMode

@@ -6187,7 +6187,7 @@ Examples:

volumeDevices

-

volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.

+

volumeDevices is the list of block devices to be used by the container. This is a beta feature.

false

v1.VolumeDevice array

diff --git a/docs/api-reference/batch/v1/definitions.html b/docs/api-reference/batch/v1/definitions.html index 86722b4d38d..8c96b4ccbfa 100755 --- a/docs/api-reference/batch/v1/definitions.html +++ b/docs/api-reference/batch/v1/definitions.html @@ -4610,7 +4610,7 @@ Examples:

volumeDevices

-

volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.

+

volumeDevices is the list of block devices to be used by the container. This is a beta feature.

false

v1.VolumeDevice array

diff --git a/docs/api-reference/batch/v1beta1/definitions.html b/docs/api-reference/batch/v1beta1/definitions.html index edf9e64a1ac..793e1768cf6 100755 --- a/docs/api-reference/batch/v1beta1/definitions.html +++ b/docs/api-reference/batch/v1beta1/definitions.html @@ -4761,7 +4761,7 @@ Examples:

volumeDevices

-

volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.

+

volumeDevices is the list of block devices to be used by the container. This is a beta feature.

false

v1.VolumeDevice array

diff --git a/docs/api-reference/batch/v2alpha1/definitions.html b/docs/api-reference/batch/v2alpha1/definitions.html index ae28550531e..5b032c12058 100755 --- a/docs/api-reference/batch/v2alpha1/definitions.html +++ b/docs/api-reference/batch/v2alpha1/definitions.html @@ -4617,7 +4617,7 @@ Examples:

volumeDevices

-

volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.

+

volumeDevices is the list of block devices to be used by the container. This is a beta feature.

false

v1.VolumeDevice array

diff --git a/docs/api-reference/extensions/v1beta1/definitions.html b/docs/api-reference/extensions/v1beta1/definitions.html index 8b9523a3cfa..43d8eb01566 100755 --- a/docs/api-reference/extensions/v1beta1/definitions.html +++ b/docs/api-reference/extensions/v1beta1/definitions.html @@ -6565,7 +6565,7 @@ If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Po

volumeDevices

-

volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.

+

volumeDevices is the list of block devices to be used by the container. This is a beta feature.

false

v1.VolumeDevice array

diff --git a/docs/api-reference/v1/definitions.html b/docs/api-reference/v1/definitions.html index 85d4a1c9902..ef399f1ebcc 100755 --- a/docs/api-reference/v1/definitions.html +++ b/docs/api-reference/v1/definitions.html @@ -689,7 +689,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

volumeMode

-

volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future.

+

volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.

false

v1.PersistentVolumeMode

@@ -4282,7 +4282,7 @@ Examples:

volumeMode

-

volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is an alpha feature and may change in the future.

+

volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature.

false

v1.PersistentVolumeMode

@@ -10595,7 +10595,7 @@ More info:

volumeDevices

-

volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.

+

volumeDevices is the list of block devices to be used by the container. This is a beta feature.

false

v1.VolumeDevice array

diff --git a/staging/src/k8s.io/api/core/v1/generated.proto b/staging/src/k8s.io/api/core/v1/generated.proto index 79e032ee1ef..165aa2a2450 100644 --- a/staging/src/k8s.io/api/core/v1/generated.proto +++ b/staging/src/k8s.io/api/core/v1/generated.proto @@ -641,7 +641,7 @@ message Container { repeated VolumeMount volumeMounts = 9; // volumeDevices is the list of block devices to be used by the container. - // This is an alpha feature and may change in the future. + // This is a beta feature. // +patchMergeKey=devicePath // +patchStrategy=merge // +optional @@ -2320,7 +2320,7 @@ message PersistentVolumeClaimSpec { // volumeMode defines what type of volume is required by the claim. // Value of Filesystem is implied when not included in claim spec. - // This is an alpha feature and may change in the future. + // This is a beta feature. // +optional optional string volumeMode = 6; @@ -2536,7 +2536,7 @@ message PersistentVolumeSpec { // volumeMode defines if a volume is intended to be used with a formatted filesystem // or to remain in raw block state. Value of Filesystem is implied when not included in spec. - // This is an alpha feature and may change in the future. + // This is a beta feature. // +optional optional string volumeMode = 8; diff --git a/staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go b/staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go index 8384371af5a..71f90685f35 100644 --- a/staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go +++ b/staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go @@ -321,7 +321,7 @@ var map_Container = map[string]string{ "env": "List of environment variables to set in the container. Cannot be updated.", "resources": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "volumeMounts": "Pod volumes to mount into the container's filesystem. Cannot be updated.", - "volumeDevices": "volumeDevices is the list of block devices to be used by the container. This is an alpha feature and may change in the future.", + "volumeDevices": "volumeDevices is the list of block devices to be used by the container. This is a beta feature.", "livenessProbe": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", "readinessProbe": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", "lifecycle": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.", @@ -1222,7 +1222,7 @@ var map_PersistentVolumeClaimSpec = map[string]string{ "resources": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", "volumeName": "VolumeName is the binding reference to the PersistentVolume backing this claim.", "storageClassName": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", - "volumeMode": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future.", + "volumeMode": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.", "dataSource": "This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change.", } @@ -1300,7 +1300,7 @@ var map_PersistentVolumeSpec = map[string]string{ "persistentVolumeReclaimPolicy": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming", "storageClassName": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.", "mountOptions": "A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options", - "volumeMode": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is an alpha feature and may change in the future.", + "volumeMode": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature.", "nodeAffinity": "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.", }