Add generated docs for discovery v1beta1 and storage v1 types
This commit is contained in:
70
api/openapi-spec/swagger.json
generated
70
api/openapi-spec/swagger.json
generated
@@ -13420,7 +13420,7 @@
|
||||
},
|
||||
"spec": {
|
||||
"$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriverSpec",
|
||||
"description": "Specification of the CSI Driver."
|
||||
"description": "spec represents the specification of the CSI Driver."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -13478,7 +13478,7 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"fsGroupPolicy": {
|
||||
"description": "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field is immutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.",
|
||||
"description": "fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field is immutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.",
|
||||
"type": "string"
|
||||
},
|
||||
"podInfoOnMount": {
|
||||
@@ -13486,11 +13486,11 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"requiresRepublish": {
|
||||
"description": "RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.",
|
||||
"description": "requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"seLinuxMount": {
|
||||
"description": "SELinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\".",
|
||||
"description": "seLinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\".",
|
||||
"type": "boolean"
|
||||
},
|
||||
"storageCapacity": {
|
||||
@@ -13498,7 +13498,7 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"tokenRequests": {
|
||||
"description": "TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"<audience>\": {\n \"token\": <token>,\n \"expirationTimestamp\": <expiration timestamp in RFC3339>,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.",
|
||||
"description": "tokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"<audience>\": {\n \"token\": <token>,\n \"expirationTimestamp\": <expiration timestamp in RFC3339>,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/io.k8s.api.storage.v1.TokenRequest"
|
||||
},
|
||||
@@ -13529,7 +13529,7 @@
|
||||
},
|
||||
"metadata": {
|
||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
|
||||
"description": "metadata.name must be the Kubernetes node name."
|
||||
"description": "Standard object's metadata. metadata.name must be the Kubernetes node name."
|
||||
},
|
||||
"spec": {
|
||||
"$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeSpec",
|
||||
@@ -13556,7 +13556,7 @@
|
||||
"description": "allocatable represents the volume resources of a node that are available for scheduling. This field is beta."
|
||||
},
|
||||
"name": {
|
||||
"description": "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.",
|
||||
"description": "name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.",
|
||||
"type": "string"
|
||||
},
|
||||
"nodeID": {
|
||||
@@ -13639,7 +13639,7 @@
|
||||
},
|
||||
"capacity": {
|
||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity",
|
||||
"description": "Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable."
|
||||
"description": "capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable."
|
||||
},
|
||||
"kind": {
|
||||
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
||||
@@ -13647,18 +13647,18 @@
|
||||
},
|
||||
"maximumVolumeSize": {
|
||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity",
|
||||
"description": "MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim."
|
||||
"description": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim."
|
||||
},
|
||||
"metadata": {
|
||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta",
|
||||
"description": "Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
|
||||
"description": "Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
|
||||
},
|
||||
"nodeTopology": {
|
||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector",
|
||||
"description": "NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable."
|
||||
"description": "nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable."
|
||||
},
|
||||
"storageClassName": {
|
||||
"description": "The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.",
|
||||
"description": "storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -13682,7 +13682,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"items": {
|
||||
"description": "Items is the list of CSIStorageCapacity objects.",
|
||||
"description": "items is the list of CSIStorageCapacity objects.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/io.k8s.api.storage.v1.CSIStorageCapacity"
|
||||
},
|
||||
@@ -13717,11 +13717,11 @@
|
||||
"description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.",
|
||||
"properties": {
|
||||
"allowVolumeExpansion": {
|
||||
"description": "AllowVolumeExpansion shows whether the storage class allow volume expand",
|
||||
"description": "allowVolumeExpansion shows whether the storage class allow volume expand.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"allowedTopologies": {
|
||||
"description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.",
|
||||
"description": "allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/io.k8s.api.core.v1.TopologySelectorTerm"
|
||||
},
|
||||
@@ -13751,11 +13751,11 @@
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.",
|
||||
"description": "parameters holds the parameters for the provisioner that should create volumes of this storage class.",
|
||||
"type": "object"
|
||||
},
|
||||
"provisioner": {
|
||||
"description": "Provisioner indicates the type of the provisioner.",
|
||||
"description": "provisioner indicates the type of the provisioner.",
|
||||
"type": "string"
|
||||
},
|
||||
"reclaimPolicy": {
|
||||
@@ -13763,7 +13763,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"volumeBindingMode": {
|
||||
"description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.",
|
||||
"description": "volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -13787,7 +13787,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"items": {
|
||||
"description": "Items is the list of StorageClasses",
|
||||
"description": "items is the list of StorageClasses",
|
||||
"items": {
|
||||
"$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass"
|
||||
},
|
||||
@@ -13818,11 +13818,11 @@
|
||||
"description": "TokenRequest contains parameters of a service account token.",
|
||||
"properties": {
|
||||
"audience": {
|
||||
"description": "Audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.",
|
||||
"description": "audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.",
|
||||
"type": "string"
|
||||
},
|
||||
"expirationSeconds": {
|
||||
"description": "ExpirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\".",
|
||||
"description": "expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\".",
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
}
|
||||
@@ -13849,11 +13849,11 @@
|
||||
},
|
||||
"spec": {
|
||||
"$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentSpec",
|
||||
"description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."
|
||||
"description": "spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentStatus",
|
||||
"description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."
|
||||
"description": "status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -13876,7 +13876,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"items": {
|
||||
"description": "Items is the list of VolumeAttachments",
|
||||
"description": "items is the list of VolumeAttachments",
|
||||
"items": {
|
||||
"$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment"
|
||||
},
|
||||
@@ -13911,7 +13911,7 @@
|
||||
"description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature."
|
||||
},
|
||||
"persistentVolumeName": {
|
||||
"description": "Name of the persistent volume to attach.",
|
||||
"description": "persistentVolumeName represents the name of the persistent volume to attach.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -13921,16 +13921,16 @@
|
||||
"description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.",
|
||||
"properties": {
|
||||
"attacher": {
|
||||
"description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().",
|
||||
"description": "attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().",
|
||||
"type": "string"
|
||||
},
|
||||
"nodeName": {
|
||||
"description": "The node that the volume should be attached to.",
|
||||
"description": "nodeName represents the node that the volume should be attached to.",
|
||||
"type": "string"
|
||||
},
|
||||
"source": {
|
||||
"$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachmentSource",
|
||||
"description": "Source represents the volume that should be attached."
|
||||
"description": "source represents the volume that should be attached."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -13945,22 +13945,22 @@
|
||||
"properties": {
|
||||
"attachError": {
|
||||
"$ref": "#/definitions/io.k8s.api.storage.v1.VolumeError",
|
||||
"description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."
|
||||
"description": "attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."
|
||||
},
|
||||
"attached": {
|
||||
"description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
|
||||
"description": "attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"attachmentMetadata": {
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
|
||||
"description": "attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
|
||||
"type": "object"
|
||||
},
|
||||
"detachError": {
|
||||
"$ref": "#/definitions/io.k8s.api.storage.v1.VolumeError",
|
||||
"description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."
|
||||
"description": "detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -13972,12 +13972,12 @@
|
||||
"description": "VolumeError captures an error encountered during a volume operation.",
|
||||
"properties": {
|
||||
"message": {
|
||||
"description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.",
|
||||
"description": "message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.",
|
||||
"type": "string"
|
||||
},
|
||||
"time": {
|
||||
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
|
||||
"description": "Time the error was encountered."
|
||||
"description": "time the error was encountered."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -13986,7 +13986,7 @@
|
||||
"description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.",
|
||||
"properties": {
|
||||
"count": {
|
||||
"description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.",
|
||||
"description": "count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
|
@@ -1201,7 +1201,7 @@
|
||||
}
|
||||
],
|
||||
"default": {},
|
||||
"description": "Specification of the CSI Driver."
|
||||
"description": "spec represents the specification of the CSI Driver."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1269,7 +1269,7 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"fsGroupPolicy": {
|
||||
"description": "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field is immutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.",
|
||||
"description": "fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field is immutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.",
|
||||
"type": "string"
|
||||
},
|
||||
"podInfoOnMount": {
|
||||
@@ -1277,11 +1277,11 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"requiresRepublish": {
|
||||
"description": "RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.",
|
||||
"description": "requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"seLinuxMount": {
|
||||
"description": "SELinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\".",
|
||||
"description": "seLinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\".",
|
||||
"type": "boolean"
|
||||
},
|
||||
"storageCapacity": {
|
||||
@@ -1289,7 +1289,7 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"tokenRequests": {
|
||||
"description": "TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"<audience>\": {\n \"token\": <token>,\n \"expirationTimestamp\": <expiration timestamp in RFC3339>,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.",
|
||||
"description": "tokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"<audience>\": {\n \"token\": <token>,\n \"expirationTimestamp\": <expiration timestamp in RFC3339>,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.",
|
||||
"items": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -1331,7 +1331,7 @@
|
||||
}
|
||||
],
|
||||
"default": {},
|
||||
"description": "metadata.name must be the Kubernetes node name."
|
||||
"description": "Standard object's metadata. metadata.name must be the Kubernetes node name."
|
||||
},
|
||||
"spec": {
|
||||
"allOf": [
|
||||
@@ -1368,7 +1368,7 @@
|
||||
},
|
||||
"name": {
|
||||
"default": "",
|
||||
"description": "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.",
|
||||
"description": "name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.",
|
||||
"type": "string"
|
||||
},
|
||||
"nodeID": {
|
||||
@@ -1472,7 +1472,7 @@
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity"
|
||||
}
|
||||
],
|
||||
"description": "Capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable."
|
||||
"description": "capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable."
|
||||
},
|
||||
"kind": {
|
||||
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
||||
@@ -1484,7 +1484,7 @@
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity"
|
||||
}
|
||||
],
|
||||
"description": "MaximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim."
|
||||
"description": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim."
|
||||
},
|
||||
"metadata": {
|
||||
"allOf": [
|
||||
@@ -1493,7 +1493,7 @@
|
||||
}
|
||||
],
|
||||
"default": {},
|
||||
"description": "Standard object's metadata. The name has no particular meaning. It must be be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
|
||||
"description": "Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
|
||||
},
|
||||
"nodeTopology": {
|
||||
"allOf": [
|
||||
@@ -1501,11 +1501,11 @@
|
||||
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
|
||||
}
|
||||
],
|
||||
"description": "NodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable."
|
||||
"description": "nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable."
|
||||
},
|
||||
"storageClassName": {
|
||||
"default": "",
|
||||
"description": "The name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.",
|
||||
"description": "storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -1529,7 +1529,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"items": {
|
||||
"description": "Items is the list of CSIStorageCapacity objects.",
|
||||
"description": "items is the list of CSIStorageCapacity objects.",
|
||||
"items": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -1574,11 +1574,11 @@
|
||||
"description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.",
|
||||
"properties": {
|
||||
"allowVolumeExpansion": {
|
||||
"description": "AllowVolumeExpansion shows whether the storage class allow volume expand",
|
||||
"description": "allowVolumeExpansion shows whether the storage class allow volume expand.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"allowedTopologies": {
|
||||
"description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.",
|
||||
"description": "allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.",
|
||||
"items": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -1620,12 +1620,12 @@
|
||||
"default": "",
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Parameters holds the parameters for the provisioner that should create volumes of this storage class.",
|
||||
"description": "parameters holds the parameters for the provisioner that should create volumes of this storage class.",
|
||||
"type": "object"
|
||||
},
|
||||
"provisioner": {
|
||||
"default": "",
|
||||
"description": "Provisioner indicates the type of the provisioner.",
|
||||
"description": "provisioner indicates the type of the provisioner.",
|
||||
"type": "string"
|
||||
},
|
||||
"reclaimPolicy": {
|
||||
@@ -1633,7 +1633,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"volumeBindingMode": {
|
||||
"description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.",
|
||||
"description": "volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -1657,7 +1657,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"items": {
|
||||
"description": "Items is the list of StorageClasses",
|
||||
"description": "items is the list of StorageClasses",
|
||||
"items": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -1699,11 +1699,11 @@
|
||||
"properties": {
|
||||
"audience": {
|
||||
"default": "",
|
||||
"description": "Audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.",
|
||||
"description": "audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.",
|
||||
"type": "string"
|
||||
},
|
||||
"expirationSeconds": {
|
||||
"description": "ExpirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\".",
|
||||
"description": "expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\".",
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
}
|
||||
@@ -1740,7 +1740,7 @@
|
||||
}
|
||||
],
|
||||
"default": {},
|
||||
"description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."
|
||||
"description": "spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."
|
||||
},
|
||||
"status": {
|
||||
"allOf": [
|
||||
@@ -1749,7 +1749,7 @@
|
||||
}
|
||||
],
|
||||
"default": {},
|
||||
"description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."
|
||||
"description": "status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1772,7 +1772,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"items": {
|
||||
"description": "Items is the list of VolumeAttachments",
|
||||
"description": "items is the list of VolumeAttachments",
|
||||
"items": {
|
||||
"allOf": [
|
||||
{
|
||||
@@ -1821,7 +1821,7 @@
|
||||
"description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature."
|
||||
},
|
||||
"persistentVolumeName": {
|
||||
"description": "Name of the persistent volume to attach.",
|
||||
"description": "persistentVolumeName represents the name of the persistent volume to attach.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -1832,12 +1832,12 @@
|
||||
"properties": {
|
||||
"attacher": {
|
||||
"default": "",
|
||||
"description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().",
|
||||
"description": "attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().",
|
||||
"type": "string"
|
||||
},
|
||||
"nodeName": {
|
||||
"default": "",
|
||||
"description": "The node that the volume should be attached to.",
|
||||
"description": "nodeName represents the node that the volume should be attached to.",
|
||||
"type": "string"
|
||||
},
|
||||
"source": {
|
||||
@@ -1847,7 +1847,7 @@
|
||||
}
|
||||
],
|
||||
"default": {},
|
||||
"description": "Source represents the volume that should be attached."
|
||||
"description": "source represents the volume that should be attached."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1866,11 +1866,11 @@
|
||||
"$ref": "#/components/schemas/io.k8s.api.storage.v1.VolumeError"
|
||||
}
|
||||
],
|
||||
"description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."
|
||||
"description": "attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."
|
||||
},
|
||||
"attached": {
|
||||
"default": false,
|
||||
"description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
|
||||
"description": "attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"attachmentMetadata": {
|
||||
@@ -1878,7 +1878,7 @@
|
||||
"default": "",
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
|
||||
"description": "attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
|
||||
"type": "object"
|
||||
},
|
||||
"detachError": {
|
||||
@@ -1887,7 +1887,7 @@
|
||||
"$ref": "#/components/schemas/io.k8s.api.storage.v1.VolumeError"
|
||||
}
|
||||
],
|
||||
"description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."
|
||||
"description": "detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1899,7 +1899,7 @@
|
||||
"description": "VolumeError captures an error encountered during a volume operation.",
|
||||
"properties": {
|
||||
"message": {
|
||||
"description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.",
|
||||
"description": "message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.",
|
||||
"type": "string"
|
||||
},
|
||||
"time": {
|
||||
@@ -1909,7 +1909,7 @@
|
||||
}
|
||||
],
|
||||
"default": {},
|
||||
"description": "Time the error was encountered."
|
||||
"description": "time the error was encountered."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -1918,7 +1918,7 @@
|
||||
"description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.",
|
||||
"properties": {
|
||||
"count": {
|
||||
"description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.",
|
||||
"description": "count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.",
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
}
|
||||
|
Reference in New Issue
Block a user