enable commentstart check on storage API group

Signed-off-by: liyuerich <yue.li@daocloud.io>

Kubernetes-commit: 57092cef4284b85347ff4723f07ac666b483b8f4
This commit is contained in:
liyuerich
2026-07-10 01:43:23 +08:00
committed by Kubernetes Publisher
parent 732ff6c292
commit 8b7ce81ba8
17 changed files with 20 additions and 19 deletions

View File

@@ -37,7 +37,7 @@ import (
// CSIDriver objects are non-namespaced.
type CSIDriverApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object metadata.
// metadata is the standard object metadata.
// metadata.Name indicates the name of the CSI driver that this object
// refers to; it MUST be the same name returned by the CSI GetPluginName()
// call for that driver.

View File

@@ -178,7 +178,7 @@ type CSIDriverSpecApplyConfiguration struct {
//
// Default behavior if unset is to pass tokens in the VolumeContext field.
ServiceAccountTokenInSecrets *bool `json:"serviceAccountTokenInSecrets,omitempty"`
// PreventPodSchedulingIfMissing indicates that the CSI driver wants to prevent pod
// preventPodSchedulingIfMissing indicates that the CSI driver wants to prevent pod
// scheduling if the CSI driver on the node is missing.
//
// Enabling this option will prevent the scheduler (or any other

View File

@@ -41,7 +41,7 @@ import (
// CSINode has an OwnerReference that points to the corresponding node object.
type CSINodeApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// metadata is the standard object metadata.
// metadata.name must be the Kubernetes node name.
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec is the specification of CSINode

View File

@@ -57,7 +57,7 @@ import (
// node.
type CSIStorageCapacityApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// metadata is the standard object 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

View File

@@ -39,7 +39,7 @@ import (
// according to etcd is in ObjectMeta.Name.
type StorageClassApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// metadata is the standard object metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// provisioner indicates the type of the provisioner.

View File

@@ -36,7 +36,7 @@ import (
// VolumeAttachment objects are non-namespaced.
type VolumeAttachmentApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object metadata.
// metadata is the standard object metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec represents specification of the desired attach/detach volume behavior.

View File

@@ -35,10 +35,10 @@ import (
// of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.
type VolumeAttributesClassApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// metadata is the standard object metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// Name of the CSI driver
// driverName is the name of the CSI driver
// This field is immutable.
DriverName *string `json:"driverName,omitempty"`
// parameters hold volume attributes defined by the CSI driver. These values

View File

@@ -57,7 +57,7 @@ import (
// node.
type CSIStorageCapacityApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata. The name has no particular meaning. It must be
// metadata is the standard object 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

View File

@@ -36,7 +36,7 @@ import (
// VolumeAttachment objects are non-namespaced.
type VolumeAttachmentApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:""`
// Standard object metadata.
// metadata is the standard object metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec represents specification of the desired attach/detach volume behavior.

View File

@@ -35,10 +35,10 @@ import (
// of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.
type VolumeAttributesClassApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// metadata is the standard object metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// Name of the CSI driver
// driverName is the name of the CSI driver
// This field is immutable.
DriverName *string `json:"driverName,omitempty"`
// parameters hold volume attributes defined by the CSI driver. These values

View File

@@ -40,7 +40,7 @@ import (
// CSIDriver objects are non-namespaced.
type CSIDriverApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:""`
// Standard object metadata.
// metadata is the standard object metadata.
// metadata.Name indicates the name of the CSI driver that this object
// refers to; it MUST be the same name returned by the CSI GetPluginName()
// call for that driver.

View File

@@ -178,7 +178,7 @@ type CSIDriverSpecApplyConfiguration struct {
//
// Default behavior if unset is to pass tokens in the VolumeContext field.
ServiceAccountTokenInSecrets *bool `json:"serviceAccountTokenInSecrets,omitempty"`
// PreventPodSchedulingIfMissing indicates that the CSI driver wants to prevent pod
// preventPodSchedulingIfMissing indicates that the CSI driver wants to prevent pod
// scheduling if the CSI driver on the node is missing.
//
// Enabling this option will prevent the scheduler (or any other

View File

@@ -43,6 +43,7 @@ import (
// CSINode has an OwnerReference that points to the corresponding node object.
type CSINodeApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:""`
// metadata is the standard object metadata.
// metadata.name must be the Kubernetes node name.
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec is the specification of CSINode

View File

@@ -57,7 +57,7 @@ import (
// node.
type CSIStorageCapacityApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata. The name has no particular meaning. It must be
// metadata is the standard object 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

View File

@@ -39,7 +39,7 @@ import (
// according to etcd is in ObjectMeta.Name.
type StorageClassApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// metadata is the standard object metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// provisioner indicates the type of the provisioner.

View File

@@ -36,7 +36,7 @@ import (
// VolumeAttachment objects are non-namespaced.
type VolumeAttachmentApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:""`
// Standard object metadata.
// metadata is the standard object metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec represents specification of the desired attach/detach volume behavior.

View File

@@ -35,10 +35,10 @@ import (
// of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.
type VolumeAttributesClassApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:""`
// Standard object's metadata.
// metadata is the standard object metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// Name of the CSI driver
// driverName is the name of the CSI driver
// This field is immutable.
DriverName *string `json:"driverName,omitempty"`
// parameters hold volume attributes defined by the CSI driver. These values