correct struct fields in various core storage structs
The field names in godoc for various core storage structs have been corrected with this commit. Additional Ref# #105963 (comment) Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
@@ -3360,12 +3360,12 @@
|
||||
"spec": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.PersistentVolumeSpec",
|
||||
"default": {},
|
||||
"description": "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"
|
||||
"description": "spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.PersistentVolumeStatus",
|
||||
"default": {},
|
||||
"description": "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"
|
||||
"description": "status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
@@ -3396,12 +3396,12 @@
|
||||
"spec": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.PersistentVolumeClaimSpec",
|
||||
"default": {},
|
||||
"description": "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
|
||||
"description": "spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.PersistentVolumeClaimStatus",
|
||||
"default": {},
|
||||
"description": "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
|
||||
"description": "status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
@@ -3419,19 +3419,19 @@
|
||||
"lastProbeTime": {
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
|
||||
"default": {},
|
||||
"description": "Last time we probed the condition."
|
||||
"description": "lastProbeTime is the time we probed the condition."
|
||||
},
|
||||
"lastTransitionTime": {
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
|
||||
"default": {},
|
||||
"description": "Last time the condition transitioned from one status to another."
|
||||
"description": "lastTransitionTime is the time the condition transitioned from one status to another."
|
||||
},
|
||||
"message": {
|
||||
"description": "Human-readable message indicating details about last transition.",
|
||||
"description": "message is the human-readable message indicating details about last transition.",
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"description": "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.",
|
||||
"description": "reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.",
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
@@ -3462,7 +3462,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"items": {
|
||||
"description": "A list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
|
||||
"description": "items is a list of persistent volume claims. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.PersistentVolumeClaim",
|
||||
"default": {}
|
||||
@@ -3495,7 +3495,7 @@
|
||||
"description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes",
|
||||
"properties": {
|
||||
"accessModes": {
|
||||
"description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
|
||||
"description": "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
|
||||
"items": {
|
||||
"default": "",
|
||||
"type": "string"
|
||||
@@ -3504,23 +3504,23 @@
|
||||
},
|
||||
"dataSource": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.TypedLocalObjectReference",
|
||||
"description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field."
|
||||
"description": "dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field."
|
||||
},
|
||||
"dataSourceRef": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.TypedLocalObjectReference",
|
||||
"description": "Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While DataSource ignores disallowed values (dropping them), DataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n(Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled."
|
||||
"description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While DataSource ignores disallowed values (dropping them), DataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n(Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled."
|
||||
},
|
||||
"resources": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.ResourceRequirements",
|
||||
"default": {},
|
||||
"description": "Resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"
|
||||
"description": "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"
|
||||
},
|
||||
"selector": {
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector",
|
||||
"description": "A label query over volumes to consider for binding."
|
||||
"description": "selector is a label query over volumes to consider for binding."
|
||||
},
|
||||
"storageClassName": {
|
||||
"description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
|
||||
"description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
|
||||
"type": "string"
|
||||
},
|
||||
"volumeMode": {
|
||||
@@ -3528,7 +3528,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"volumeName": {
|
||||
"description": "VolumeName is the binding reference to the PersistentVolume backing this claim.",
|
||||
"description": "volumeName is the binding reference to the PersistentVolume backing this claim.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -3538,7 +3538,7 @@
|
||||
"description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.",
|
||||
"properties": {
|
||||
"accessModes": {
|
||||
"description": "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
|
||||
"description": "accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
|
||||
"items": {
|
||||
"default": "",
|
||||
"type": "string"
|
||||
@@ -3550,7 +3550,7 @@
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity",
|
||||
"default": {}
|
||||
},
|
||||
"description": "The storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.",
|
||||
"description": "allocatedResources is the storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.",
|
||||
"type": "object"
|
||||
},
|
||||
"capacity": {
|
||||
@@ -3558,11 +3558,11 @@
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity",
|
||||
"default": {}
|
||||
},
|
||||
"description": "Represents the actual resources of the underlying volume.",
|
||||
"description": "capacity represents the actual resources of the underlying volume.",
|
||||
"type": "object"
|
||||
},
|
||||
"conditions": {
|
||||
"description": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.",
|
||||
"description": "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.PersistentVolumeClaimCondition",
|
||||
"default": {}
|
||||
@@ -3572,7 +3572,7 @@
|
||||
"x-kubernetes-patch-strategy": "merge"
|
||||
},
|
||||
"phase": {
|
||||
"description": "Phase represents the current phase of PersistentVolumeClaim.\n\nPossible enum values:\n - `\"Bound\"` used for PersistentVolumeClaims that are bound\n - `\"Lost\"` used for PersistentVolumeClaims that lost their underlying PersistentVolume. The claim was bound to a PersistentVolume and this volume does not exist any longer and all data on it was lost.\n - `\"Pending\"` used for PersistentVolumeClaims that are not yet bound",
|
||||
"description": "phase represents the current phase of PersistentVolumeClaim.\n\nPossible enum values:\n - `\"Bound\"` used for PersistentVolumeClaims that are bound\n - `\"Lost\"` used for PersistentVolumeClaims that lost their underlying PersistentVolume. The claim was bound to a PersistentVolume and this volume does not exist any longer and all data on it was lost.\n - `\"Pending\"` used for PersistentVolumeClaims that are not yet bound",
|
||||
"enum": [
|
||||
"Bound",
|
||||
"Lost",
|
||||
@@ -3581,7 +3581,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"resizeStatus": {
|
||||
"description": "ResizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.",
|
||||
"description": "resizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -3611,11 +3611,11 @@
|
||||
"properties": {
|
||||
"claimName": {
|
||||
"default": "",
|
||||
"description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
|
||||
"description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
|
||||
"type": "string"
|
||||
},
|
||||
"readOnly": {
|
||||
"description": "Will force the ReadOnly setting in VolumeMounts. Default false.",
|
||||
"description": "readOnly Will force the ReadOnly setting in VolumeMounts. Default false.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
@@ -3632,7 +3632,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"items": {
|
||||
"description": "List of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes",
|
||||
"description": "items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.PersistentVolume",
|
||||
"default": {}
|
||||
@@ -3665,7 +3665,7 @@
|
||||
"description": "PersistentVolumeSpec is the specification of a persistent volume.",
|
||||
"properties": {
|
||||
"accessModes": {
|
||||
"description": "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes",
|
||||
"description": "accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes",
|
||||
"items": {
|
||||
"default": "",
|
||||
"type": "string"
|
||||
@@ -3689,7 +3689,7 @@
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity",
|
||||
"default": {}
|
||||
},
|
||||
"description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
|
||||
"description": "capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
|
||||
"type": "object"
|
||||
},
|
||||
"cephfs": {
|
||||
@@ -3702,7 +3702,7 @@
|
||||
},
|
||||
"claimRef": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.ObjectReference",
|
||||
"description": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding"
|
||||
"description": "claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding"
|
||||
},
|
||||
"csi": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.CSIPersistentVolumeSource",
|
||||
@@ -3741,7 +3741,7 @@
|
||||
"description": "local represents directly-attached storage with node affinity"
|
||||
},
|
||||
"mountOptions": {
|
||||
"description": "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",
|
||||
"description": "mountOptions is the 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",
|
||||
"items": {
|
||||
"default": "",
|
||||
"type": "string"
|
||||
@@ -3754,10 +3754,10 @@
|
||||
},
|
||||
"nodeAffinity": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.VolumeNodeAffinity",
|
||||
"description": "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume."
|
||||
"description": "nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume."
|
||||
},
|
||||
"persistentVolumeReclaimPolicy": {
|
||||
"description": "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\n\nPossible enum values:\n - `\"Delete\"` means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion.\n - `\"Recycle\"` means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling.\n - `\"Retain\"` means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain.",
|
||||
"description": "persistentVolumeReclaimPolicy defines 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\n\nPossible enum values:\n - `\"Delete\"` means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion.\n - `\"Recycle\"` means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling.\n - `\"Retain\"` means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain.",
|
||||
"enum": [
|
||||
"Delete",
|
||||
"Recycle",
|
||||
@@ -3786,7 +3786,7 @@
|
||||
"description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."
|
||||
},
|
||||
"storageClassName": {
|
||||
"description": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.",
|
||||
"description": "storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.",
|
||||
"type": "string"
|
||||
},
|
||||
"storageos": {
|
||||
@@ -3808,11 +3808,11 @@
|
||||
"description": "PersistentVolumeStatus is the current status of a persistent volume.",
|
||||
"properties": {
|
||||
"message": {
|
||||
"description": "A human-readable message indicating details about why the volume is in this state.",
|
||||
"description": "message is a human-readable message indicating details about why the volume is in this state.",
|
||||
"type": "string"
|
||||
},
|
||||
"phase": {
|
||||
"description": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase\n\nPossible enum values:\n - `\"Available\"` used for PersistentVolumes that are not yet bound Available volumes are held by the binder and matched to PersistentVolumeClaims\n - `\"Bound\"` used for PersistentVolumes that are bound\n - `\"Failed\"` used for PersistentVolumes that failed to be correctly recycled or deleted after being released from a claim\n - `\"Pending\"` used for PersistentVolumes that are not available\n - `\"Released\"` used for PersistentVolumes where the bound PersistentVolumeClaim was deleted released volumes must be recycled before becoming available again this phase is used by the persistent volume claim binder to signal to another process to reclaim the resource",
|
||||
"description": "phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase\n\nPossible enum values:\n - `\"Available\"` used for PersistentVolumes that are not yet bound Available volumes are held by the binder and matched to PersistentVolumeClaims\n - `\"Bound\"` used for PersistentVolumes that are bound\n - `\"Failed\"` used for PersistentVolumes that failed to be correctly recycled or deleted after being released from a claim\n - `\"Pending\"` used for PersistentVolumes that are not available\n - `\"Released\"` used for PersistentVolumes where the bound PersistentVolumeClaim was deleted released volumes must be recycled before becoming available again this phase is used by the persistent volume claim binder to signal to another process to reclaim the resource",
|
||||
"enum": [
|
||||
"Available",
|
||||
"Bound",
|
||||
@@ -3823,7 +3823,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"description": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.",
|
||||
"description": "reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -6354,7 +6354,7 @@
|
||||
},
|
||||
"name": {
|
||||
"default": "",
|
||||
"description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
|
||||
"description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
|
||||
"type": "string"
|
||||
},
|
||||
"nfs": {
|
||||
@@ -6468,7 +6468,7 @@
|
||||
"properties": {
|
||||
"required": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.NodeSelector",
|
||||
"description": "Required specifies hard node constraints that must be met."
|
||||
"description": "required specifies hard node constraints that must be met."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
|
@@ -2455,12 +2455,12 @@
|
||||
"spec": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.PersistentVolumeClaimSpec",
|
||||
"default": {},
|
||||
"description": "Spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
|
||||
"description": "spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.PersistentVolumeClaimStatus",
|
||||
"default": {},
|
||||
"description": "Status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
|
||||
"description": "status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
@@ -2478,19 +2478,19 @@
|
||||
"lastProbeTime": {
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
|
||||
"default": {},
|
||||
"description": "Last time we probed the condition."
|
||||
"description": "lastProbeTime is the time we probed the condition."
|
||||
},
|
||||
"lastTransitionTime": {
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
|
||||
"default": {},
|
||||
"description": "Last time the condition transitioned from one status to another."
|
||||
"description": "lastTransitionTime is the time the condition transitioned from one status to another."
|
||||
},
|
||||
"message": {
|
||||
"description": "Human-readable message indicating details about last transition.",
|
||||
"description": "message is the human-readable message indicating details about last transition.",
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"description": "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.",
|
||||
"description": "reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.",
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
@@ -2517,7 +2517,7 @@
|
||||
"description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes",
|
||||
"properties": {
|
||||
"accessModes": {
|
||||
"description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
|
||||
"description": "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
|
||||
"items": {
|
||||
"default": "",
|
||||
"type": "string"
|
||||
@@ -2526,23 +2526,23 @@
|
||||
},
|
||||
"dataSource": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.TypedLocalObjectReference",
|
||||
"description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field."
|
||||
"description": "dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field."
|
||||
},
|
||||
"dataSourceRef": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.TypedLocalObjectReference",
|
||||
"description": "Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While DataSource ignores disallowed values (dropping them), DataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n(Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled."
|
||||
"description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While DataSource ignores disallowed values (dropping them), DataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n(Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled."
|
||||
},
|
||||
"resources": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.ResourceRequirements",
|
||||
"default": {},
|
||||
"description": "Resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"
|
||||
"description": "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"
|
||||
},
|
||||
"selector": {
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector",
|
||||
"description": "A label query over volumes to consider for binding."
|
||||
"description": "selector is a label query over volumes to consider for binding."
|
||||
},
|
||||
"storageClassName": {
|
||||
"description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
|
||||
"description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
|
||||
"type": "string"
|
||||
},
|
||||
"volumeMode": {
|
||||
@@ -2550,7 +2550,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"volumeName": {
|
||||
"description": "VolumeName is the binding reference to the PersistentVolume backing this claim.",
|
||||
"description": "volumeName is the binding reference to the PersistentVolume backing this claim.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -2560,7 +2560,7 @@
|
||||
"description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.",
|
||||
"properties": {
|
||||
"accessModes": {
|
||||
"description": "AccessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
|
||||
"description": "accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
|
||||
"items": {
|
||||
"default": "",
|
||||
"type": "string"
|
||||
@@ -2572,7 +2572,7 @@
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity",
|
||||
"default": {}
|
||||
},
|
||||
"description": "The storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.",
|
||||
"description": "allocatedResources is the storage resource within AllocatedResources tracks the capacity allocated to a PVC. It may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.",
|
||||
"type": "object"
|
||||
},
|
||||
"capacity": {
|
||||
@@ -2580,11 +2580,11 @@
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity",
|
||||
"default": {}
|
||||
},
|
||||
"description": "Represents the actual resources of the underlying volume.",
|
||||
"description": "capacity represents the actual resources of the underlying volume.",
|
||||
"type": "object"
|
||||
},
|
||||
"conditions": {
|
||||
"description": "Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.",
|
||||
"description": "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.PersistentVolumeClaimCondition",
|
||||
"default": {}
|
||||
@@ -2594,7 +2594,7 @@
|
||||
"x-kubernetes-patch-strategy": "merge"
|
||||
},
|
||||
"phase": {
|
||||
"description": "Phase represents the current phase of PersistentVolumeClaim.\n\nPossible enum values:\n - `\"Bound\"` used for PersistentVolumeClaims that are bound\n - `\"Lost\"` used for PersistentVolumeClaims that lost their underlying PersistentVolume. The claim was bound to a PersistentVolume and this volume does not exist any longer and all data on it was lost.\n - `\"Pending\"` used for PersistentVolumeClaims that are not yet bound",
|
||||
"description": "phase represents the current phase of PersistentVolumeClaim.\n\nPossible enum values:\n - `\"Bound\"` used for PersistentVolumeClaims that are bound\n - `\"Lost\"` used for PersistentVolumeClaims that lost their underlying PersistentVolume. The claim was bound to a PersistentVolume and this volume does not exist any longer and all data on it was lost.\n - `\"Pending\"` used for PersistentVolumeClaims that are not yet bound",
|
||||
"enum": [
|
||||
"Bound",
|
||||
"Lost",
|
||||
@@ -2603,7 +2603,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"resizeStatus": {
|
||||
"description": "ResizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.",
|
||||
"description": "resizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -2633,11 +2633,11 @@
|
||||
"properties": {
|
||||
"claimName": {
|
||||
"default": "",
|
||||
"description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
|
||||
"description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
|
||||
"type": "string"
|
||||
},
|
||||
"readOnly": {
|
||||
"description": "Will force the ReadOnly setting in VolumeMounts. Default false.",
|
||||
"description": "readOnly Will force the ReadOnly setting in VolumeMounts. Default false.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
@@ -3867,7 +3867,7 @@
|
||||
},
|
||||
"name": {
|
||||
"default": "",
|
||||
"description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
|
||||
"description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
|
||||
"type": "string"
|
||||
},
|
||||
"nfs": {
|
||||
|
@@ -1796,7 +1796,7 @@
|
||||
"description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes",
|
||||
"properties": {
|
||||
"accessModes": {
|
||||
"description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
|
||||
"description": "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
|
||||
"items": {
|
||||
"default": "",
|
||||
"type": "string"
|
||||
@@ -1805,23 +1805,23 @@
|
||||
},
|
||||
"dataSource": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.TypedLocalObjectReference",
|
||||
"description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field."
|
||||
"description": "dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field."
|
||||
},
|
||||
"dataSourceRef": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.TypedLocalObjectReference",
|
||||
"description": "Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While DataSource ignores disallowed values (dropping them), DataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n(Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled."
|
||||
"description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While DataSource ignores disallowed values (dropping them), DataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n(Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled."
|
||||
},
|
||||
"resources": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.ResourceRequirements",
|
||||
"default": {},
|
||||
"description": "Resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"
|
||||
"description": "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"
|
||||
},
|
||||
"selector": {
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector",
|
||||
"description": "A label query over volumes to consider for binding."
|
||||
"description": "selector is a label query over volumes to consider for binding."
|
||||
},
|
||||
"storageClassName": {
|
||||
"description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
|
||||
"description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
|
||||
"type": "string"
|
||||
},
|
||||
"volumeMode": {
|
||||
@@ -1829,7 +1829,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"volumeName": {
|
||||
"description": "VolumeName is the binding reference to the PersistentVolume backing this claim.",
|
||||
"description": "volumeName is the binding reference to the PersistentVolume backing this claim.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -1859,11 +1859,11 @@
|
||||
"properties": {
|
||||
"claimName": {
|
||||
"default": "",
|
||||
"description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
|
||||
"description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
|
||||
"type": "string"
|
||||
},
|
||||
"readOnly": {
|
||||
"description": "Will force the ReadOnly setting in VolumeMounts. Default false.",
|
||||
"description": "readOnly Will force the ReadOnly setting in VolumeMounts. Default false.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
@@ -3093,7 +3093,7 @@
|
||||
},
|
||||
"name": {
|
||||
"default": "",
|
||||
"description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
|
||||
"description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
|
||||
"type": "string"
|
||||
},
|
||||
"nfs": {
|
||||
|
@@ -1598,7 +1598,7 @@
|
||||
"description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes",
|
||||
"properties": {
|
||||
"accessModes": {
|
||||
"description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
|
||||
"description": "accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
|
||||
"items": {
|
||||
"default": "",
|
||||
"type": "string"
|
||||
@@ -1607,23 +1607,23 @@
|
||||
},
|
||||
"dataSource": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.TypedLocalObjectReference",
|
||||
"description": "This field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field."
|
||||
"description": "dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. If the AnyVolumeDataSource feature gate is enabled, this field will always have the same contents as the DataSourceRef field."
|
||||
},
|
||||
"dataSourceRef": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.TypedLocalObjectReference",
|
||||
"description": "Specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While DataSource ignores disallowed values (dropping them), DataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n(Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled."
|
||||
"description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any local object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the DataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, both fields (DataSource and DataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. There are two important differences between DataSource and DataSourceRef: * While DataSource only allows two specific types of objects, DataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While DataSource ignores disallowed values (dropping them), DataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n(Alpha) Using this field requires the AnyVolumeDataSource feature gate to be enabled."
|
||||
},
|
||||
"resources": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.ResourceRequirements",
|
||||
"default": {},
|
||||
"description": "Resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"
|
||||
"description": "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources"
|
||||
},
|
||||
"selector": {
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector",
|
||||
"description": "A label query over volumes to consider for binding."
|
||||
"description": "selector is a label query over volumes to consider for binding."
|
||||
},
|
||||
"storageClassName": {
|
||||
"description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
|
||||
"description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
|
||||
"type": "string"
|
||||
},
|
||||
"volumeMode": {
|
||||
@@ -1631,7 +1631,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"volumeName": {
|
||||
"description": "VolumeName is the binding reference to the PersistentVolume backing this claim.",
|
||||
"description": "volumeName is the binding reference to the PersistentVolume backing this claim.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -1661,11 +1661,11 @@
|
||||
"properties": {
|
||||
"claimName": {
|
||||
"default": "",
|
||||
"description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
|
||||
"description": "claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
|
||||
"type": "string"
|
||||
},
|
||||
"readOnly": {
|
||||
"description": "Will force the ReadOnly setting in VolumeMounts. Default false.",
|
||||
"description": "readOnly Will force the ReadOnly setting in VolumeMounts. Default false.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
@@ -2895,7 +2895,7 @@
|
||||
},
|
||||
"name": {
|
||||
"default": "",
|
||||
"description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
|
||||
"description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
|
||||
"type": "string"
|
||||
},
|
||||
"nfs": {
|
||||
|
@@ -584,7 +584,7 @@
|
||||
"description": "PersistentVolumeSpec is the specification of a persistent volume.",
|
||||
"properties": {
|
||||
"accessModes": {
|
||||
"description": "AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes",
|
||||
"description": "accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes",
|
||||
"items": {
|
||||
"default": "",
|
||||
"type": "string"
|
||||
@@ -608,7 +608,7 @@
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity",
|
||||
"default": {}
|
||||
},
|
||||
"description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
|
||||
"description": "capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
|
||||
"type": "object"
|
||||
},
|
||||
"cephfs": {
|
||||
@@ -621,7 +621,7 @@
|
||||
},
|
||||
"claimRef": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.ObjectReference",
|
||||
"description": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding"
|
||||
"description": "claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding"
|
||||
},
|
||||
"csi": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.CSIPersistentVolumeSource",
|
||||
@@ -660,7 +660,7 @@
|
||||
"description": "local represents directly-attached storage with node affinity"
|
||||
},
|
||||
"mountOptions": {
|
||||
"description": "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",
|
||||
"description": "mountOptions is the 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",
|
||||
"items": {
|
||||
"default": "",
|
||||
"type": "string"
|
||||
@@ -673,10 +673,10 @@
|
||||
},
|
||||
"nodeAffinity": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.VolumeNodeAffinity",
|
||||
"description": "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume."
|
||||
"description": "nodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume."
|
||||
},
|
||||
"persistentVolumeReclaimPolicy": {
|
||||
"description": "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\n\nPossible enum values:\n - `\"Delete\"` means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion.\n - `\"Recycle\"` means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling.\n - `\"Retain\"` means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain.",
|
||||
"description": "persistentVolumeReclaimPolicy defines 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\n\nPossible enum values:\n - `\"Delete\"` means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion.\n - `\"Recycle\"` means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling.\n - `\"Retain\"` means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain.",
|
||||
"enum": [
|
||||
"Delete",
|
||||
"Recycle",
|
||||
@@ -705,7 +705,7 @@
|
||||
"description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."
|
||||
},
|
||||
"storageClassName": {
|
||||
"description": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.",
|
||||
"description": "storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.",
|
||||
"type": "string"
|
||||
},
|
||||
"storageos": {
|
||||
@@ -983,7 +983,7 @@
|
||||
"properties": {
|
||||
"required": {
|
||||
"$ref": "#/components/schemas/io.k8s.api.core.v1.NodeSelector",
|
||||
"description": "Required specifies hard node constraints that must be met."
|
||||
"description": "required specifies hard node constraints that must be met."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
|
Reference in New Issue
Block a user