Skip to content

Commit 99b5b13

Browse files
committed
CSI ephemeral volumes: documentation and owner update
The promotion to beta missed some code locations. The owner also changed since the feature was initially designed and implemented. The "is handled by an external CSI driver" to "by certain external CSI drivers" change is supposed to avoid the misconception that this volume type will work with arbitrary CSI drivers.
1 parent 71c352d commit 99b5b13

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

pkg/apis/core/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ type VolumeSource struct {
154154
// StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
155155
// +optional
156156
StorageOS *StorageOSVolumeSource
157-
// CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature).
157+
// CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
158158
// +optional
159159
CSI *CSIVolumeSource
160160
}

pkg/apis/policy/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ type PodSecurityPolicySpec struct {
210210
AllowedFlexVolumes []AllowedFlexVolume
211211
// AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.
212212
// An empty value indicates that any CSI driver can be used for inline ephemeral volumes.
213-
// This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate.
213+
// This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate.
214214
// +optional
215215
AllowedCSIDrivers []AllowedCSIDriver
216216
// AllowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.

pkg/features/kube_features.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ const (
286286
// Enables CSI to use raw block storage volumes
287287
CSIBlockVolume featuregate.Feature = "CSIBlockVolume"
288288

289-
// owner: @vladimirvivien
289+
// owner: @pohly
290290
// alpha: v1.14
291291
// beta: v1.16
292292
//

staging/src/k8s.io/api/core/v1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ type VolumeSource struct {
153153
// StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
154154
// +optional
155155
StorageOS *StorageOSVolumeSource `json:"storageos,omitempty" protobuf:"bytes,27,opt,name=storageos"`
156-
// CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature).
156+
// CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).
157157
// +optional
158158
CSI *CSIVolumeSource `json:"csi,omitempty" protobuf:"bytes,28,opt,name=csi"`
159159
}

staging/src/k8s.io/api/policy/v1beta1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ type PodSecurityPolicySpec struct {
226226
AllowedFlexVolumes []AllowedFlexVolume `json:"allowedFlexVolumes,omitempty" protobuf:"bytes,18,rep,name=allowedFlexVolumes"`
227227
// AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.
228228
// An empty value indicates that any CSI driver can be used for inline ephemeral volumes.
229-
// This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate.
229+
// This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate.
230230
// +optional
231231
AllowedCSIDrivers []AllowedCSIDriver `json:"allowedCSIDrivers,omitempty" protobuf:"bytes,23,rep,name=allowedCSIDrivers"`
232232
// allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none.

0 commit comments

Comments
 (0)